Merge branch 'docker-fixup' of c3lf/lfbackend into master
This commit is contained in:
commit
d2d0614640
1 changed files with 0 additions and 10 deletions
|
@ -13,13 +13,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
WEB_DOCUMENT_ROOT: /app/public
|
WEB_DOCUMENT_ROOT: /app/public
|
||||||
XDEBUG_REMOTE_HOST: marvin
|
XDEBUG_REMOTE_HOST: marvin
|
||||||
links:
|
|
||||||
- dbserver
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- dbserver
|
- dbserver
|
||||||
networks:
|
|
||||||
- backend
|
|
||||||
restart: on-failure
|
|
||||||
dbserver:
|
dbserver:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
environment:
|
environment:
|
||||||
|
@ -27,14 +22,9 @@ services:
|
||||||
MYSQL_DATABASE: ${DB_DATABASE}
|
MYSQL_DATABASE: ${DB_DATABASE}
|
||||||
MYSQL_USER: ${DB_USERNAME}
|
MYSQL_USER: ${DB_USERNAME}
|
||||||
MYSQL_PASSWORD: ${DB_PASSWORD}
|
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||||
networks:
|
|
||||||
- backend
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
volumes:
|
volumes:
|
||||||
- ./.local/db:/var/lib/mysql
|
- ./.local/db:/var/lib/mysql
|
||||||
- ./container/db/:/docker-entrypoint-initdb.d
|
- ./container/db/:/docker-entrypoint-initdb.d
|
||||||
networks:
|
|
||||||
backend:
|
|
||||||
driver: bridge
|
|
||||||
|
|
Loading…
Reference in a new issue