-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack-deploy.yml
executable file
·44 lines (43 loc) · 1.06 KB
/
stack-deploy.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
version: '3.7'
services:
web:
image: 10.0.200.219:5000/webserver_web
volumes:
- ./log:/var/log/evharbor/
- ./entrypoint.sh:/entrypoint.sh
ports:
- target: 80
published: 8801
protocol: tcp
mode: host
privileged: true
# sysctls:
# - net.core.somaxconn=1024
tty: true
#command: ["entrypoint.sh"]
networks:
- webserver_network
# links:
# - db
depends_on:
- db
deploy:
mode: global
restart_policy:
condition: on-failure
max_attempts: 3
db:
image: severalnines/proxysql
#restart: unless-stopped
volumes:
- ./proxysql.cnf:/etc/proxysql.cnf
networks:
- webserver_network
deploy:
mode: global
restart_policy:
condition: on-failure
max_attempts: 3
networks:
webserver_network:
driver: overlay