Sign inSign up

forewing/goldennum

By forewing

Updated almost 4 years ago

Image
0

1.9K

forewing/goldennum repository overview

Goldennum Game docker image

Github: forewing/goldennum

Tags

  • latest: master branch

  • v*: releases

Config

Using environment variable
Using command flags
  • 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
Using config file
  • 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

Database

sqlite3
  • Set volumes for sqlite3 database file for data persistence.
volumes:
  - REAL_PATH/sqlite3.db:/app/sqlite3.db
mysql
  • Mysql is linked to server as host db and listening at 3306, you may set DB_ADDR to db:3306

Tag summary

Content type

Image

Digest

Size

7.3 MB

Last updated

over 4 years ago

docker pull forewing/goldennum