feat(server): Add startup script (#63)

## Description

**What issue are you solving (or what feature are you adding) and how
are you doing it?**

We start the container using supervisord, which is limiting as the user
has no way of telling the container what game to run. So, the idea is to
run like so: `docker run... ghcr.io/netrisdotme/netris/server:<tag>
netris-proton /game/yourgame.exe`


Co-authored by @djpremier
This commit is contained in:
Wanjohi
2024-05-25 00:24:45 +03:00
committed by GitHub
parent e6fa6ea6e1
commit 204730450c
8 changed files with 54 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ loglevel=info
logfile=/tmp/supervisord.log
pidfile=/tmp/supervisord.pid
[include]
files = /etc/supervisord.d/*.ini
[program:entrypoint]
command=/etc/entrypoint.sh
logfile=/tmp/entrypoint.log