-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (60 loc) · 1.92 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: "3.8"
services:
frontend:
image: atlargeresearch/opendc-web-ui:v2.1
restart: on-failure
networks:
- backend
depends_on:
- api
environment:
NEXT_PUBLIC_AUTH0_DOMAIN: ${OPENDC_AUTH0_DOMAIN}
NEXT_PUBLIC_AUTH0_CLIENT_ID: ${OPENDC_AUTH0_CLIENT_ID}
NEXT_PUBLIC_AUTH0_AUDIENCE: ${OPENDC_AUTH0_AUDIENCE}
NEXT_PUBLIC_SENTRY_DSN: ${OPENDC_FRONTEND_SENTRY_DSN-}
api:
image: atlargeresearch/opendc-web-api:v2.1
restart: on-failure
networks:
- backend
depends_on:
- postgres
environment:
OPENDC_DB_USERNAME: ${OPENDC_DB_USERNAME:?No database username specified}
OPENDC_DB_PASSWORD: ${OPENDC_DB_PASSWORD:?No database password specified}
OPENDC_DB_URL: jdbc:postgresql://postgres:5432/opendc
OPENDC_AUTH0_DOMAIN: ${OPENDC_AUTH0_DOMAIN:?No Auth0 domain specified}
OPENDC_AUTH0_AUDIENCE: ${OPENDC_AUTH0_AUDIENCE:?No Auth0 audience specified}
SENTRY_DSN: ${OPENDC_API_SENTRY_DSN-}
runner:
image: atlargeresearch/opendc:v2.1
restart: on-failure
networks:
- backend
depends_on:
- api
volumes:
- type: bind
source: ./traces
target: /opt/opendc/traces
environment:
OPENDC_API_URL: ${OPENDC_API_BASE_URL:-http://web:8080}
AUTH0_DOMAIN: ${OPENDC_AUTH0_DOMAIN:?No Auth0 domain specified}
AUTH0_AUDIENCE: ${OPENDC_AUTH0_AUDIENCE:?No Auth0 audience specified}
AUTH0_CLIENT_ID: ${OPENDC_AUTH0_CLIENT_ID_RUNNER:?No client id for runner}
AUTH0_CLIENT_SECRET: ${OPENDC_AUTH0_CLIENT_SECRET_RUNNER:?No client secret for runner}
SENTRY_DSN: ${OPENDC_SIMULATOR_SENTRY_DSN-}
postgres:
image: postgres
restart: on-failure
environment:
POSTGRES_USER: ${OPENDC_DB_USERNAME}
POSTGRES_PASSWORD: ${OPENDC_DB_PASSWORD}
networks:
- backend
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres:
networks:
backend: {}