|
@@ -7,7 +7,7 @@ services:
|
|
ports:
|
|
ports:
|
|
- "80:80"
|
|
- "80:80"
|
|
volumes:
|
|
volumes:
|
|
- - ./src:/var/www/html/
|
|
|
|
|
|
+ - ./empire:/var/www/html/
|
|
- ./default.conf:/etc/nginx/conf.d/default.conf
|
|
- ./default.conf:/etc/nginx/conf.d/default.conf
|
|
networks:
|
|
networks:
|
|
- empire
|
|
- empire
|
|
@@ -19,7 +19,7 @@ services:
|
|
build: ./php
|
|
build: ./php
|
|
restart: always
|
|
restart: always
|
|
volumes:
|
|
volumes:
|
|
- - ./src:/var/www/html/
|
|
|
|
|
|
+ - ./empire:/var/www/html/
|
|
networks:
|
|
networks:
|
|
- empire
|
|
- empire
|
|
depends_on:
|
|
depends_on:
|
|
@@ -31,9 +31,11 @@ services:
|
|
platform: linux/x86_64
|
|
platform: linux/x86_64
|
|
command: --lower_case_table_names=1 --sql-mode=''
|
|
command: --lower_case_table_names=1 --sql-mode=''
|
|
restart: always
|
|
restart: always
|
|
|
|
+ ports:
|
|
|
|
+ - "3306:3306"
|
|
volumes:
|
|
volumes:
|
|
- "./mysql:/var/lib/mysql"
|
|
- "./mysql:/var/lib/mysql"
|
|
- - "./src/application/db/migrations/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
|
|
|
|
|
|
+ - "./empire/application/db/migrations/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
|
|
networks:
|
|
networks:
|
|
- empire
|
|
- empire
|
|
environment:
|
|
environment:
|