forked from tapis-project/tokens-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (43 loc) · 1.19 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
version: "3.5"
networks:
tokens:
driver: bridge
volumes:
pgdata:
services:
# postgres:
# image: postgres:9.4
# volumes:
# - pgdata:/var/lib/postgresql/data
# networks:
# - tokens
#
# migrations:
# image: tapis/tokens-api-migrations
# volumes:
# - ./config-local.json:/home/tapis/config.json
# networks:
# - tokens
#
tokens:
image: tapis/tokens-api
ports:
- "5001:5000"
volumes:
- ./config-local.json:/home/tapis/config.json
- ./service.log:/home/tapis/service.log
networks:
- tokens
environment:
# an example of the allservices_password, only used in develop. generate a new one with
# date +%s | sha256sum | base64 | head -c 32 ; echo or something similar.
- allservices_password=ZjM3YzdlYjI3OTYwYzZhN2FhMzcyMGNh
# depends_on:
# - postgres
tokens-tests:
image: tapis/tokens-api-tests
volumes:
- ./config-local.json:/home/tapis/config.json
environment:
- allservices_password=ZjM3YzdlYjI3OTYwYzZhN2FhMzcyMGNh