Create an .env
file in extra
directory.
POSTGRES_PASSWORD=YourPassword
POSTGRES_USER=YourUser
POSTGRES_DB=tournament
REDIS_PASSWORD=YourPassword
extra/docker-compose.yaml
docker compose up
docker compose down
You can find an example service file in extra/opentournament.service
.
It's recommended to install in /etc/systemd/system directory.
systemctl daemon-reload
systemctl enable --now opentournament.service