amper43
6 years ago
1 changed files with 9 additions and 11 deletions
@ -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…
Reference in new issue