2023-09-20 23:42:44 +08:00
|
|
|
version: '3'
|
2023-08-10 21:08:40 +08:00
|
|
|
|
|
|
|
services:
|
2024-02-17 23:25:31 +08:00
|
|
|
api:
|
|
|
|
container_name: moneynote_api
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-api:latest
|
2024-01-24 23:18:19 +08:00
|
|
|
restart: always
|
2023-08-11 17:00:29 +08:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
2024-01-27 14:15:08 +08:00
|
|
|
environment:
|
|
|
|
- DB_HOST=${DB_HOST:-host.docker.internal}
|
|
|
|
- DB_PORT=${DB_PORT:-3306}
|
2024-02-17 23:25:31 +08:00
|
|
|
- DB_NAME=${DB_NAME:-moneynote}
|
2024-01-27 14:15:08 +08:00
|
|
|
- DB_USER=${DB_USER:-root}
|
|
|
|
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
|
|
|
|
- invite_code=${invite_code:-111111}
|
2024-01-10 22:29:17 +08:00
|
|
|
ports:
|
2024-01-24 23:32:44 +08:00
|
|
|
- "43742:9092"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
2024-02-17 23:25:31 +08:00
|
|
|
pc:
|
|
|
|
container_name: moneynote_pc
|
2023-08-10 21:08:40 +08:00
|
|
|
links:
|
2024-02-17 23:25:31 +08:00
|
|
|
- api
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-pc:latest
|
2024-01-24 23:18:19 +08:00
|
|
|
restart: always
|
2023-08-10 21:08:40 +08:00
|
|
|
environment:
|
2024-02-17 23:25:31 +08:00
|
|
|
USER_API_HOST: http://api:9092
|
2023-08-10 21:08:40 +08:00
|
|
|
ports:
|
2024-01-24 23:32:44 +08:00
|
|
|
- "43743:80"
|
2023-08-10 21:08:40 +08:00
|
|
|
|
2024-02-17 23:25:31 +08:00
|
|
|
h5:
|
|
|
|
container_name: moneynote_h5
|
2023-08-10 21:08:40 +08:00
|
|
|
links:
|
2024-02-17 23:25:31 +08:00
|
|
|
- api
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-h5:latest
|
2024-01-24 23:18:19 +08:00
|
|
|
restart: always
|
2023-08-10 21:08:40 +08:00
|
|
|
environment:
|
2024-02-17 23:25:31 +08:00
|
|
|
USER_API_HOST: http://api:9092
|
2023-08-10 21:08:40 +08:00
|
|
|
ports:
|
2024-01-10 22:29:17 +08:00
|
|
|
- "43744:80"
|