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: ...@@ -5,11 +5,11 @@ services:
context: ./docker/app context: ./docker/app
image: asgardcms/app:latest image: asgardcms/app:latest
ports: ports:
- 8080:80 - 80:80
volumes: volumes:
- .:/var/www/html:cached - .:/var/www/html:cached
networks: networks:
- ocnet - asgard_net
redis: redis:
build: build:
context: ./docker/redis context: ./docker/redis
...@@ -17,14 +17,14 @@ services: ...@@ -17,14 +17,14 @@ services:
volumes: volumes:
- redisdata:/data - redisdata:/data
networks: networks:
- ocnet - asgard_net
mysql: mysql:
build: build:
context: ./docker/mysql context: ./docker/mysql
image: asgardcms/mysql:latest image: asgardcms/mysql:latest
ports: ports:
- "4306:3306" - 3306:3306
environment: environment:
MYSQL_ROOT_PASSWORD: root MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: asgardcms MYSQL_DATABASE: asgardcms
...@@ -33,7 +33,7 @@ services: ...@@ -33,7 +33,7 @@ services:
volumes: volumes:
- mysqldata:/var/lib/mysql - mysqldata:/var/lib/mysql
networks: networks:
- ocnet - asgard_net
node: node:
build: build:
...@@ -50,5 +50,5 @@ volumes: ...@@ -50,5 +50,5 @@ volumes:
driver: local driver: local
networks: networks:
ocnet: asgard_net:
driver: bridge 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