Commit 55c60b20 authored by Julien Tant's avatar Julien Tant Committed by Nicolas Widart

Use standard ports in docker-compose + rename network (#352)

* use default ports for app & mysql

* rename default network
parent 505f3fe7
......@@ -5,11 +5,11 @@ services:
context: ./docker/app
image: asgardcms/app:latest
ports:
- 8080:80
- 80:80
volumes:
- .:/var/www/html:cached
networks:
- ocnet
- asgard_net
redis:
build:
context: ./docker/redis
......@@ -17,14 +17,14 @@ services:
volumes:
- redisdata:/data
networks:
- ocnet
- asgard_net
mysql:
build:
context: ./docker/mysql
image: asgardcms/mysql:latest
ports:
- "4306:3306"
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: asgardcms
......@@ -33,7 +33,7 @@ services:
volumes:
- mysqldata:/var/lib/mysql
networks:
- ocnet
- asgard_net
node:
build:
......@@ -50,5 +50,5 @@ volumes:
driver: local
networks:
ocnet:
asgard_net:
driver: bridge
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment