-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
61 lines (53 loc) · 1.26 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
version: '3.8'
# access local Hanabira app on http://localhost:8888
services:
frontend-next:
build:
context: ./frontend-next
image: coil/hanabira.org:frontend-next
environment:
REACT_APP_HOST_IP: 'express-db'
GA_MEASUREMENT_ID: '' # Google Analytics measurement ID
restart: unless-stopped
networks:
- hanabira-network
express-db:
build:
context: ./backend/express
image: coil/hanabira.org:express-db
environment:
REACT_APP_HOST_IP: 'express-db'
restart: unless-stopped
networks:
- hanabira-network
flask-dynamic-db:
build:
context: ./backend/flask
image: coil/hanabira.org:flask-dynamic-db
volumes:
- ./user_db:/data/db
restart: unless-stopped
networks:
- hanabira-network
dictionary-db:
build:
context: ./backend/dictionary
image: coil/hanabira.org:dictionary-db
volumes:
- './config_dummy.json:/app/config.json'
restart: unless-stopped
networks:
- hanabira-network
nginx:
image: nginx:latest
ports:
- '8888:80'
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
networks:
- hanabira-network
volumes:
user_db:
networks:
hanabira-network: