Github: forewing/goldennum
latest: master branch
v*: releases
We provide a example docker-compose.yml file, which use environment config methods.
Edit .env file.
Remove env_file config (or keep it to override some fields).
Set your flags in command.
# env_file:
# .env
command: -bind=0.0.0.0:8008 -debug
Remove env_file config (or keep it to override some fields).
Add volumes for your config file.
Add command to set config file path.
# env_file:
# .env
command: -conf=/app/conf.yml
volumes:
- REAL_PATH/conf.yml:/app/conf.yml
volumes:
- REAL_PATH/sqlite3.db:/app/sqlite3.db
db and listening at 3306, you may set DB_ADDR to db:3306Content type
Image
Digest
Size
7.3 MB
Last updated
over 4 years ago
docker pull forewing/goldennum