Browse Source

test

pull/1/head
amper43 6 years ago
parent
commit
d01ee7bf8b
  1. 20
      docker-compose.yml

20
docker-compose.yml

@ -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…
Cancel
Save