-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
142 lines (129 loc) · 2.79 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
version: '3'
services:
nginx:
restart: always
build:
context: .
dockerfile: .docker/nginx_Dockerfile
ports:
- '80:80'
- '443:443'
volumes:
- sockets:/tmp/
- ./odbx/static:/app/static
- ./logs:/var/log/nginx
- ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot
networks:
- nginx
odbx:
restart: always
build:
context: .
dockerfile: .docker/odbx_Dockerfile
environment:
MAIN: main
OPTIMADE_CONFIG_FILE: /app/optimade_config.json
depends_on:
- mongo
volumes:
- sockets:/tmp/
- ./odbx/static:/app/static/
- ./logs:/app/logs/
networks:
- nginx
odbx_rest:
restart: always
build:
context: .
dockerfile: .docker/odbx_rest_Dockerfile
environment:
MAIN: main
OPTIMADE_CONFIG_FILE: /app/optimade_config.json
depends_on:
- mongo
volumes:
- sockets:/tmp/
- ./logs:/app/logs/
networks:
- nginx
odbx_gnome:
restart: always
build:
context: .
dockerfile: .docker/odbx_rest_gnome_Dockerfile
environment:
MAIN: main
OPTIMADE_CONFIG_FILE: /app/production_config.json
depends_on:
- mongo
volumes:
- sockets:/tmp/
- ./logs:/app/logs/
networks:
- nginx
odbx_rest_misc:
restart: always
build:
context: .
dockerfile: .docker/odbx_rest_misc_Dockerfile
environment:
MAIN: main
OPTIMADE_CONFIG_FILE: /app/optimade_config.json
depends_on:
- mongo
volumes:
- sockets:/tmp/
- ./logs:/app/logs/
networks:
- nginx
odbx_index:
restart: always
build:
context: .
dockerfile: .docker/odbx_index_Dockerfile
environment:
OPTIMADE_CONFIG_FILE: /app/optimade_index_config.json
volumes:
- sockets:/tmp/
- ./logs:/app/logs/
networks:
- nginx
tmdne:
restart: always
build:
context: this-material-does-not-exist
dockerfile: Dockerfile
volumes:
- ./results:/app/results
environment:
RESULTS_PATH: /app/results/results.csv
ports:
- '8050:8050'
networks:
- nginx
mongo:
restart: always
build:
context: .
dockerfile: .docker/mongo_Dockerfile
command: ["mongod", "-f", "/etc/mongod.conf"]
volumes:
- sockets:/tmp/
- ./logs:/var/logs/mongod/
- /data/db/mongo:/data/db
networks:
- nginx
certbot:
image: certbot/certbot
volumes:
- ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 24h & wait $${!}; done;'"
networks:
- nginx
volumes:
sockets:
networks:
nginx:
external: true