-
Notifications
You must be signed in to change notification settings - Fork 54
/
docker-compose.yml
51 lines (47 loc) · 1.4 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
version: "3.8"
services:
ui:
image: atlargeresearch/opendc-ui:v2.1
restart: on-failure
networks:
- backend
depends_on:
- server
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_UI_SENTRY_DSN-}
server:
image: atlargeresearch/opendc:v2.1
restart: on-failure
networks:
- backend
depends_on:
- postgres
volumes:
- type: bind
source: ./traces
target: /opt/opendc/traces
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}
OPENDC_API_URL: ${OPENDC_API_BASE_URL:-http://web:8080}
SENTRY_DSN: ${OPENDC_SERVER_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: {}