-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-remote.yml
78 lines (72 loc) · 1.57 KB
/
docker-compose-remote.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
version: "3.7"
services:
nginx:
build:
context: .
dockerfile: ./nginx/prod.Dockerfile
args:
- VITE_VUE_APP_MATOMOID=${VITE_VUE_APP_MATOMOID}
- VITE_VUE_APP_HOTJAR=${VITE_VUE_APP_HOTJAR}
ports:
- "80:80"
- "443:443"
environment:
- CERTBOT_EMAIL=${CERTBOT_EMAIL}
- SERVER_NAME=${SERVER_NAME}
volumes:
- letsencrypt:/etc/letsencrypt
restart: unless-stopped
deploy:
resources:
limits:
memory: 1.5G
api:
command: yarn start
restart: unless-stopped
deploy:
resources:
limits:
memory: 1.5G
neo4j:
environment:
- NEO4J_dbms_transaction_timeout=40s
- NEO4J_dbms_lock_acquisition_timeout=40s
- NEO4J_dbms_memory_heap_initial__size=5G
- NEO4J_dbms_memory_off__heap_max__size=8G
restart: unless-stopped
deploy:
resources:
limits:
memory: 13G
ulimits:
nofile:
soft: 80000
hard: 90000
ftp:
environment:
- FTP_IP=${FTP_IP}
- FLAGS=-Y 1
volumes:
- letsencrypt:/etc/letsencrypt:ro
restart: unless-stopped
deploy:
resources:
reservations:
memory: 150M
limits:
memory: 200M
pg:
build:
context: pg
restart: always
command: postgres -c stats_temp_directory=/tmp
volumes:
- /var/lib/docker-volumes/pg/postgres-data:/var/lib/postgresql/data
deploy:
resources:
reservations:
memory: 3G
limits:
memory: 5G
volumes:
letsencrypt: