Correções de implantação
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
DB_HOST=localhost
|
DB_HOST=db
|
||||||
DB_NAME=dnsblock
|
DB_NAME=dnsblock
|
||||||
DB_USER=root
|
DB_USER=root
|
||||||
DB_PASS=
|
DB_PASS=
|
||||||
|
DB_ROOT_PASSWORD=
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
|
|
||||||
APP_URL=http://localhost:8000
|
APP_URL=http://localhost:8000
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ services:
|
|||||||
container_name: dnsblock-db
|
container_name: dnsblock-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: dnsblock
|
MYSQL_DATABASE: ${DB_NAME}
|
||||||
MYSQL_ROOT_PASSWORD: rootpassword
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||||
MYSQL_PASSWORD: password
|
MYSQL_PASSWORD: ${DB_PASS}
|
||||||
MYSQL_USER: user
|
MYSQL_USER: ${DB_USER}
|
||||||
volumes:
|
volumes:
|
||||||
- dbdata:/var/lib/mysql
|
- dbdata:/var/lib/mysql
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user