Fix docker-compose YAML

This commit is contained in:
Unknown 2018-03-27 15:48:03 +02:00
parent a1fa1e4489
commit d2eba38ae6
1 changed files with 9 additions and 9 deletions

View File

@ -2,9 +2,9 @@ version: '3'
services:
mariadb_devweb:
mariadb:
image: mariadb:latest
container_name: mariadb
container_name: mariadb_devweb
networks:
- overlay
environment:
@ -19,9 +19,9 @@ services:
ports:
- 3308:3306
tomcat_devweb:
tomcat:
image: tomcat:8.0-jre8-alpine
container_name: tomcat
container_name: tomcat_devweb
depends_on:
- mariadb
- websocket
@ -36,11 +36,11 @@ services:
- mariadb
- websocket
websocket_devweb:
websocket:
build:
context: .
dockerfile: ./dockfile/websocket.dockfile
container_name: websocket
container_name: websocket_devweb
depends_on:
- mariadb
networks:
@ -53,9 +53,9 @@ services:
links:
- mariadb
nginx_devweb:
nginx:
image: nginx:latest
container_name: nginx
container_name: nginx_devweb
depends_on:
- tomcat
- websocket