Fix docker-compose YAML
This commit is contained in:
parent
a1fa1e4489
commit
d2eba38ae6
|
@ -2,9 +2,9 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
mariadb_devweb:
|
mariadb:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
container_name: mariadb
|
container_name: mariadb_devweb
|
||||||
networks:
|
networks:
|
||||||
- overlay
|
- overlay
|
||||||
environment:
|
environment:
|
||||||
|
@ -19,9 +19,9 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 3308:3306
|
- 3308:3306
|
||||||
|
|
||||||
tomcat_devweb:
|
tomcat:
|
||||||
image: tomcat:8.0-jre8-alpine
|
image: tomcat:8.0-jre8-alpine
|
||||||
container_name: tomcat
|
container_name: tomcat_devweb
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
- websocket
|
- websocket
|
||||||
|
@ -36,11 +36,11 @@ services:
|
||||||
- mariadb
|
- mariadb
|
||||||
- websocket
|
- websocket
|
||||||
|
|
||||||
websocket_devweb:
|
websocket:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./dockfile/websocket.dockfile
|
dockerfile: ./dockfile/websocket.dockfile
|
||||||
container_name: websocket
|
container_name: websocket_devweb
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
networks:
|
networks:
|
||||||
|
@ -48,14 +48,14 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./virtual/usr/local/websocket/:/usr/local/websocket
|
- ./virtual/usr/local/websocket/:/usr/local/websocket
|
||||||
expose:
|
expose:
|
||||||
- '9999'
|
- '9999'
|
||||||
- '9998'
|
- '9998'
|
||||||
links:
|
links:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
|
||||||
nginx_devweb:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
container_name: nginx
|
container_name: nginx_devweb
|
||||||
depends_on:
|
depends_on:
|
||||||
- tomcat
|
- tomcat
|
||||||
- websocket
|
- websocket
|
||||||
|
|
Loading…
Reference in New Issue