-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
100 lines (91 loc) · 2.61 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: "3.7"
services:
app:
build: .
image: polyneme/ads-query-eval
command: ["./wait-for-it.sh" , "terminus:6363" , "--strict" , "--timeout=300" , "--" , "uvicorn", "ads_query_eval.app.main:app", "--host", "0.0.0.0", "--port", "8000"]
env_file:
- ./config.env
expose:
- "8000"
restart: unless-stopped
depends_on:
- terminus
terminus:
image: terminusdb/terminusdb-server:dev-3a7fef0002e17f64150197eaa6dbe961a34d25e0
tty: true
volumes:
- terminus_data:/app/terminusdb/storage
restart: always
env_file:
- ./config.env
environment:
TERMINUSDB_SERVER_PORT: 6363
TERMINUSDB_AUTOLOGIN_ENABLED: "true"
TERMINUSDB_HTTPS_ENABLED: "false"
dagster-postgresql:
image: postgres:11
volumes:
- dagster_postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: "postgres_user"
POSTGRES_PASSWORD: "postgres_password"
POSTGRES_DB: "postgres_db"
dagster-dagit:
build: .
image: polyneme/ads-query-eval
working_dir: "/opt/dagster/home/"
entrypoint: ["tini", "--", "./entrypoint-dagit.sh"]
expose:
- "3000"
env_file:
- ./config.env
restart: on-failure
environment:
DAGSTER_POSTGRES_USER: "postgres_user"
DAGSTER_POSTGRES_PASSWORD: "postgres_password"
DAGSTER_POSTGRES_DB: "postgres_db"
depends_on:
- dagster-postgresql
dagster-daemon:
build: .
image: polyneme/ads-query-eval
working_dir: "/opt/dagster/home/"
entrypoint: ["tini", "--", "./entrypoint-daemon.sh"]
restart: on-failure
env_file:
- ./config.env
environment:
DAGSTER_POSTGRES_USER: "postgres_user"
DAGSTER_POSTGRES_PASSWORD: "postgres_password"
DAGSTER_POSTGRES_DB: "postgres_db"
depends_on:
- dagster-postgresql
ibis:
image: polyneme/p5-app-ibis-web
command: carton exec starman -I/carton/lib/perl5 -Ilib -e 'enable ForceEnv => REMOTE_USER => $$ENV{EMAIL}' app_ibis.psgi
volumes:
- .:/home/catalyst
ports:
- "5000:5000"
environment:
PERL_CARTON_PATH: /carton
PERL5LIB: /code/lib:/carton/lib/perl5
EMAIL: [email protected]
snappass:
image: polyneme/snappass
stop_signal: SIGINT
environment:
REDIS_HOST: "snappass-redis"
SECRET_KEY: ${SECRET_KEY}
depends_on:
- snappass-redis
snappass-redis:
image: "redis:latest"
volumes:
terminus_data:
name: ${COMPOSE_PROJECT_NAME}_terminus_data
external: true
dagster_postgres_data:
name: ${COMPOSE_PROJECT_NAME}_dagster_postgres_data
external: true