amper43
6 years ago
1 changed files with 9 additions and 11 deletions
@ -1,30 +1,28 @@
|
||||
version: '3' |
||||
version: '2' |
||||
services: |
||||
server: |
||||
build: |
||||
dockerfile: Dockerfile_server |
||||
build: server |
||||
volumes: |
||||
- "/var/www/data" |
||||
ports: |
||||
- data-volume:"8000:8000" |
||||
privileged: true |
||||
ipc: host |
||||
deploy: |
||||
restart_policy: |
||||
condition: on-failure |
||||
# deploy: |
||||
# restart_policy: |
||||
# condition: on-failure |
||||
|
||||
analytics: |
||||
build: |
||||
dockerfile: Dockerfile_analytics |
||||
build: analytics |
||||
volumes: |
||||
- data-volume:"/var/www/data" |
||||
ports: |
||||
- "8002:8002" |
||||
privileged: true |
||||
ipc: host |
||||
deploy: |
||||
restart_policy: |
||||
condition: on-failure |
||||
# deploy: |
||||
# restart_policy: |
||||
# condition: on-failure |
||||
|
||||
volumes: |
||||
data-volume: |
||||
|
Loading…
Reference in new issue