This commit is contained in:
markliu2013 2024-01-10 13:40:26 +08:00
parent 8b35762cdc
commit 9ccfe4d0d2
2 changed files with 5 additions and 9 deletions

View File

@ -21,8 +21,6 @@ services:
links: links:
- mysql - mysql
environment: environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1 PMA_ARBITRARY: 1
restart: always restart: always
ports: ports:

View File

@ -2,7 +2,7 @@ version: '3'
services: services:
mysql: mysql:
image: mysql:5.7 image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql:5.7
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: 111111 MYSQL_ROOT_PASSWORD: 111111
@ -17,12 +17,10 @@ services:
- moneywhere_mysql_data:/var/lib/mysql - moneywhere_mysql_data:/var/lib/mysql
phpmyadmin: phpmyadmin:
image: phpmyadmin/phpmyadmin image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest
links: links:
- mysql - mysql
environment: environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1 PMA_ARBITRARY: 1
restart: always restart: always
ports: ports:
@ -31,13 +29,13 @@ services:
moneywhere-api-user: moneywhere-api-user:
links: links:
- mysql - mysql
image: markliu2018/moneywhere-api-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
env_file: api.env env_file: api.env
moneywhere-fe-user: moneywhere-fe-user:
links: links:
- moneywhere-api-user - moneywhere-api-user
image: markliu2018/moneywhere-fe-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://moneywhere-api-user:9092
ports: ports:
@ -46,7 +44,7 @@ services:
moneywhere-fe-user-mobile: moneywhere-fe-user-mobile:
links: links:
- moneywhere-api-user - moneywhere-api-user
image: markliu2018/moneywhere-fe-user-mobile:latest image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://moneywhere-api-user:9092
ports: ports: