-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
94 lines (82 loc) · 2.59 KB
/
docker-compose.prod.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
version: '3.8'
# The production version directly uses the Docker images from the registry.
services:
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
environment:
- ATHENA_DOMAIN=${ATHENA_DOMAIN:-localhost}
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
assessment_module_manager:
hostname: assessment-module-manager
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/assessment_module_manager.env
depends_on:
- postgres
image: ls1tum/athena_assessment_module_manager:${ATHENA_TAG:-develop}
volumes:
- ./deployments.ini:/code/deployments.ini:ro
- ./modules.ini:/code/modules.ini:ro
module_example:
hostname: module-example
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_example.env
depends_on:
- postgres
image: ls1tum/athena_module_example:${ATHENA_TAG:-develop}
module_programming_llm:
hostname: module-programming-llm
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_programming_llm.env
depends_on:
- postgres
image: ls1tum/athena_module_programming_llm:${ATHENA_TAG:-develop}
module_text_llm:
hostname: module-text-llm
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_text_llm.env
image: ls1tum/athena_module_text_llm:${ATHENA_TAG:-develop}
module_text_cofee:
hostname: module-text-cofee
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_text_cofee.env
depends_on:
- postgres
image: ls1tum/athena_module_text_cofee:${ATHENA_TAG:-develop}
module_programming_themisml:
hostname: module-programming-themisml
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_programming_themisml.env
depends_on:
- postgres
image: ls1tum/athena_module_programming_themisml:${ATHENA_TAG:-develop}
module_programming_apted:
hostname: module-programming-apted
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_programming_apted.env
depends_on:
- postgres
image: ls1tum/athena_module_programming_apted:${ATHENA_TAG:-develop}
module_modeling_llm:
hostname: module-modeling-llm
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_modeling_llm.env
depends_on:
- postgres
image: ls1tum/athena_module_modeling_llm:${ATHENA_TAG:-develop}
postgres:
hostname: postgres
image: postgres:15
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/postgres.env
volumes:
- postgres_data:/var/lib/postgresql/data
- ./postgres-init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "5432:5432"
volumes:
postgres_data: