DATABASE_HOST

192.168.0.102 change value to localhost
This commit is contained in:
MaxKey 2022-02-25 09:49:35 +08:00
parent 31836f3d94
commit 1a6d1c19d5
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ services:
container_name: maxkey
build: ./docker-maxkey
environment:
- DATABASE_HOST:192.168.0.102
- DATABASE_HOST:localhost
- DATABASE_PORT:3306
- DATABASE_NAME:maxkey
- DATABASE_USER:root
@ -34,7 +34,7 @@ services:
container_name: maxkey-mgt
build: ./docker-maxkey-mgt
environment:
- DATABASE_HOST:192.168.0.102
- DATABASE_HOST:localhost
- DATABASE_PORT:3306
- DATABASE_NAME:maxkey
- DATABASE_USER:root

View File

@ -1,7 +1,7 @@
FROM maxkeytop/maxkey-mgt:latest
ENV TZ=Asia/Shanghai \
DATABASE_HOST=192.168.0.102 \
DATABASE_HOST=localhost \
DATABASE_PORT=3306 \
DATABASE_NAME=maxkey \
DATABASE_USER=root \

View File

@ -1,7 +1,7 @@
FROM maxkeytop/maxkey:latest
ENV TZ=Asia/Shanghai \
DATABASE_HOST=192.168.0.102 \
DATABASE_HOST=localhost \
DATABASE_PORT=3306 \
DATABASE_NAME=maxkey \
DATABASE_USER=root \