mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 20:58:02 +08:00
save
This commit is contained in:
parent
a306cbb467
commit
371b16236c
@ -2,5 +2,5 @@ DB_HOST=host.docker.internal
|
||||
DB_PORT=3306
|
||||
DB_NAME=moneywhere
|
||||
DB_USER=root
|
||||
DB_PASSWORD=NWPkVrO2
|
||||
DB_PASSWORD=111111
|
||||
invite_code=111111
|
2
api.env
2
api.env
@ -2,5 +2,5 @@ DB_HOST=mysql
|
||||
DB_PORT=3306
|
||||
DB_NAME=moneywhere
|
||||
DB_USER=root
|
||||
DB_PASSWORD=NWPkVrO2
|
||||
DB_PASSWORD=111111
|
||||
invite_code=111111
|
@ -5,7 +5,7 @@ services:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql:5.7
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: NWPkVrO2
|
||||
MYSQL_ROOT_PASSWORD: 111111
|
||||
MYSQL_DATABASE: moneywhere
|
||||
command: [
|
||||
'--character-set-server=utf8mb4',
|
||||
|
@ -5,7 +5,7 @@ services:
|
||||
image: mysql:5.7
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: NWPkVrO2
|
||||
MYSQL_ROOT_PASSWORD: 111111
|
||||
MYSQL_DATABASE: moneywhere
|
||||
command: [
|
||||
'--character-set-server=utf8mb4',
|
||||
@ -29,9 +29,8 @@ services:
|
||||
- "8085:80"
|
||||
|
||||
moneywhere-api-user:
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
links:
|
||||
- mysql
|
||||
image: markliu2018/moneywhere-api-user:latest
|
||||
env_file: api.env
|
||||
|
||||
|
@ -5,7 +5,7 @@ services:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql:5.7
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: NWPkVrO2
|
||||
MYSQL_ROOT_PASSWORD: 111111
|
||||
MYSQL_DATABASE: moneywhere
|
||||
command: [
|
||||
'--character-set-server=utf8mb4',
|
||||
|
Loading…
Reference in New Issue
Block a user