Build your own board game server. Batteries included!
The code in this repository will build the binary for the Rock–paper–scissors game.
cd docker/
PLATEAU_SESSION_KEY=my-STRONG-secret \
docker-compose up -d
docker rmi $(docker images -qf dangling=true -f label=autodelete=true)
ENV | Mandatory? | Default value |
---|---|---|
PLATEAU_GO_GAME_TAG |
☓ | rockpaperscissors |
PLATEAU_LISTEN_PORT |
☓ | 80 |
PLATEAU_SESSION_KEY |
✓ | |
PLATEAU_POSTGRESQL_USER |
☓ | pg |
PLATEAU_POSTGRESQL_PASSWORD |
☓ | pg |