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: services:
server: server:
build: build: server
dockerfile: Dockerfile_server
volumes: volumes:
- "/var/www/data" - "/var/www/data"
ports: ports:
- data-volume:"8000:8000" - data-volume:"8000:8000"
privileged: true privileged: true
ipc: host ipc: host
deploy: # deploy:
restart_policy: # restart_policy:
condition: on-failure # condition: on-failure
analytics: analytics:
build: build: analytics
dockerfile: Dockerfile_analytics
volumes: volumes:
- data-volume:"/var/www/data" - data-volume:"/var/www/data"
ports: ports:
- "8002:8002" - "8002:8002"
privileged: true privileged: true
ipc: host ipc: host
deploy: # deploy:
restart_policy: # restart_policy:
condition: on-failure # condition: on-failure
volumes: volumes:
data-volume: data-volume:

Loading…
Cancel
Save