-
Notifications
You must be signed in to change notification settings - Fork 2
/
production.yml
71 lines (65 loc) · 1.39 KB
/
production.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
version: '3'
volumes:
production_flask_logs: {}
production_neo4j_data: {}
production_neo4j_logs: {}
production_traefik: {}
production_traefik_logs: {}
production_redis: {}
services:
flask:
image: ghcr.io/source-data/sd-graph_flask:${IMAGE_TAG}
depends_on:
- neo4j
volumes:
- production_flask_logs:/app/log
env_file:
- ./.env
shm_size: '16gb'
# ports:
# - "5000:5000"
command: /start
neo4j:
image: neo4j:4.4
environment:
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
ulimits:
nofile:
soft: 40000
hard: 40000
volumes:
- production_neo4j_data:/data
- production_neo4j_logs:/logs
env_file:
- ./.env
# ports:
# - "7474:7474"
# - "7687:7687"
traefik:
image: ghcr.io/source-data/sd-graph_traefik:${IMAGE_TAG}
depends_on:
- flask
env_file: .env
volumes:
- production_traefik:/etc/traefik/acme
- production_traefik_logs:/var/log/traefik
ports:
- "0.0.0.0:80:80"
# - "8080:8080" # debugging UI
- "0.0.0.0:443:443"
vuejs:
image: ghcr.io/source-data/sd-graph_vuejs:${IMAGE_TAG}
depends_on:
- flask
env_file:
- ./.env
# ports:
# - "9080:80"
redis:
image: redis:6
ulimits:
nofile:
soft: 12000
hard: 12000
volumes:
- production_redis:/data