2023-09-20 23:38:59 +08:00
|
|
|
version: '3'
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
services:
|
|
|
|
mysql:
|
2024-01-19 21:16:32 +08:00
|
|
|
container_name: moneywhere_mysql
|
2024-02-15 21:14:15 +08:00
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql5-arm:latest
|
2023-08-10 21:08:40 +08:00
|
|
|
restart: always
|
|
|
|
environment:
|
2024-01-27 14:15:08 +08:00
|
|
|
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD:-78p7gkc1}
|
|
|
|
- MYSQL_DATABASE=moneywhere
|
2023-09-20 23:11:09 +08:00
|
|
|
command: [
|
|
|
|
'--character-set-server=utf8mb4',
|
|
|
|
'--collation-server=utf8mb4_general_ci',
|
|
|
|
]
|
2023-09-20 23:38:59 +08:00
|
|
|
volumes:
|
|
|
|
- moneywhere_mysql_data:/var/lib/mysql
|
2024-01-15 21:20:54 +08:00
|
|
|
ports:
|
|
|
|
- "43740:3306"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
phpmyadmin:
|
2024-01-19 21:16:32 +08:00
|
|
|
container_name: moneywhere_phpmyadmin
|
2024-01-27 00:33:12 +08:00
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin5:latest
|
2023-08-10 21:08:40 +08:00
|
|
|
links:
|
|
|
|
- mysql
|
|
|
|
environment:
|
|
|
|
PMA_ARBITRARY: 1
|
|
|
|
restart: always
|
|
|
|
ports:
|
2024-01-10 22:29:17 +08:00
|
|
|
- "43741:80"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
moneywhere-api-user:
|
2024-01-19 21:16:32 +08:00
|
|
|
container_name: moneywhere_api
|
2023-09-20 23:11:09 +08:00
|
|
|
links:
|
|
|
|
- mysql
|
2023-08-10 21:08:40 +08:00
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
|
2024-01-24 23:18:19 +08:00
|
|
|
restart: always
|
2024-01-27 14:15:08 +08:00
|
|
|
environment:
|
|
|
|
- DB_HOST=mysql
|
|
|
|
- DB_PORT=3306
|
|
|
|
- DB_NAME=moneywhere
|
|
|
|
- DB_USER=root
|
|
|
|
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
|
|
|
|
- invite_code=${invite_code:-111111}
|
2024-01-10 22:29:17 +08:00
|
|
|
ports:
|
|
|
|
- "43742:9092"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
moneywhere-fe-user:
|
2024-01-19 21:16:32 +08:00
|
|
|
container_name: moneywhere_fe
|
2023-08-10 21:08:40 +08:00
|
|
|
links:
|
|
|
|
- moneywhere-api-user
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
|
2024-01-24 23:18:19 +08:00
|
|
|
restart: always
|
2023-08-10 21:08:40 +08:00
|
|
|
environment:
|
|
|
|
USER_API_HOST: http://moneywhere-api-user:9092
|
|
|
|
ports:
|
2024-01-10 22:29:17 +08:00
|
|
|
- "43743:80"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
moneywhere-fe-user-mobile:
|
2024-01-19 21:16:32 +08:00
|
|
|
container_name: moneywhere_fe_mobile
|
2023-08-10 21:08:40 +08:00
|
|
|
links:
|
|
|
|
- moneywhere-api-user
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
|
2024-01-24 23:18:19 +08:00
|
|
|
restart: always
|
2023-08-10 21:08:40 +08:00
|
|
|
environment:
|
|
|
|
USER_API_HOST: http://moneywhere-api-user:9092
|
|
|
|
ports:
|
2024-01-10 22:29:17 +08:00
|
|
|
- "43744:80"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
moneywhere_mysql_data:
|