This commit is contained in:
markliu2013 2023-07-28 15:25:02 +08:00
parent 374ef5cce4
commit bbd60f7fdd
3 changed files with 54 additions and 60 deletions

View File

@ -38,7 +38,6 @@ services:
image: markliu2018/moneywhere-fe-user:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
API_HOST: https://api.moneywhere.com/api/v1/user-api
ports:
- "9097:80"

View File

@ -11,9 +11,5 @@ services:
image: markliu2018/moneywhere-fe-user:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
API_HOST: https://api.moneywhere.com/api/v1/user-api
ports:
- "9097:80"
volumes:
moneywhere_mysql_data:
- "9097:80"

View File

@ -1,55 +1,54 @@
version: '3'
services:
mysql:
build: ./mysql/
command: --init-file /data/1.sql
restart: always
environment:
MYSQL_ROOT_PASSWORD: NWPkVrO2
MYSQL_DATABASE: moneywhere
volumes:
- moneywhere_mysql_data:/var/lib/mysql
phpmyadmin:
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest
links:
- mysql
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
restart: always
ports:
- "8085:80"
moneywhere-api-user:
depends_on:
- mysql
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
env_file: api.env
environment:
- TZ=Asia/Singapore
- DEBIAN_FRONTEND=noninteractive
moneywhere-fe-user:
links:
- moneywhere-api-user
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
API_HOST: https://api.moneywhere.com/api/v1/user-api
ports:
- "9097:80"
moneywhere-fe-user-mobile:
links:
- moneywhere-api-user
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
volumes:
version: '3'
services:
mysql:
build: ./mysql/
command: --init-file /data/1.sql
restart: always
environment:
MYSQL_ROOT_PASSWORD: NWPkVrO2
MYSQL_DATABASE: moneywhere
volumes:
- moneywhere_mysql_data:/var/lib/mysql
phpmyadmin:
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest
links:
- mysql
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
restart: always
ports:
- "8085:80"
moneywhere-api-user:
depends_on:
- mysql
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
env_file: api.env
environment:
- TZ=Asia/Singapore
- DEBIAN_FRONTEND=noninteractive
moneywhere-fe-user:
links:
- moneywhere-api-user
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
moneywhere-fe-user-mobile:
links:
- moneywhere-api-user
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
volumes:
moneywhere_mysql_data: