2024-01-27 00:33:12 +08:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
2024-02-17 23:25:31 +08:00
|
|
|
moneynote:
|
|
|
|
container_name: moneynote
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all-no-mysql:latest
|
2024-01-27 00:33:12 +08:00
|
|
|
restart: always
|
2024-01-27 14:15:08 +08:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
2024-01-27 00:33:12 +08:00
|
|
|
environment:
|
2024-01-27 14:15:08 +08:00
|
|
|
- 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-27 00:33:12 +08:00
|
|
|
ports:
|
|
|
|
- "43742:9092"
|
|
|
|
- "43743:81"
|
|
|
|
- "43744:82"
|