2020-10-19 22:05:57 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
gonito:
|
|
|
|
image: loxygen/gonito:latest
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
environment:
|
|
|
|
- PGUSER=postgres
|
|
|
|
- PGPASS=$POSTGRES_PASSWORD
|
|
|
|
- PGHOST=postgres
|
|
|
|
- ADMINUSER=$GONITO_ADMINUSER
|
|
|
|
- ADMINPASS=$GONITO_ADMINPASS
|
|
|
|
- LOCATION=$GONITO_LOCATION
|
|
|
|
- APPROOT=$GONITO_APPROOT
|
|
|
|
- LEADERBOARD_STYLE=${GONITO_LEADERBOARD_STYLE:-by-tag}
|
|
|
|
- AUTO_OPENING=${GONITO_AUTO_OPENING:-false}
|
|
|
|
- IS_PUBLIC=${GONITO_IS_PUBLIC:-true}
|
2020-12-11 14:36:09 +01:00
|
|
|
- JSON_WEB_KEY=${JSON_WEB_KEY}
|
2021-08-21 10:48:34 +02:00
|
|
|
- ANNOUNCEMENT_HOOK=${GONITO_ANNOUNCEMENT_HOOK}
|
2020-10-19 22:05:57 +02:00
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
volumes:
|
|
|
|
- "${GONITO_ARENA_VOLUME}:/gonito/arena"
|
|
|
|
- "${GONITO_SSH_DIRECTORY}:/root/.ssh"
|
|
|
|
postgres:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
|
|
|
- POSTGRES_DB=gonito
|
|
|
|
expose:
|
|
|
|
- "5432"
|
|
|
|
volumes:
|
|
|
|
- "${PG_DATA_VOLUME}:/var/lib/postgresql/data"
|