mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 20:58:02 +08:00
21 lines
529 B
YAML
21 lines
529 B
YAML
version: '3'
|
|
|
|
services:
|
|
moneynote:
|
|
container_name: moneynote
|
|
image: markliu2018/moneynote-all-no-mysql:latest
|
|
restart: always
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- DB_HOST=${DB_HOST:-host.docker.internal}
|
|
- DB_PORT=${DB_PORT:-3306}
|
|
- DB_NAME=${DB_NAME:-moneynote}
|
|
- DB_USER=${DB_USER:-root}
|
|
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
|
|
- invite_code=${invite_code:-111111}
|
|
ports:
|
|
- "43742:9092"
|
|
- "43743:81"
|
|
- "43744:82"
|