A Docker image for running an Avorion dedicated server.
Create a local data directory to persist your galaxy:
mkdir dataRun the server:
docker run --name avorion -d \
-v $(pwd)/data:/root/.avorion/galaxies/avorion_galaxy \
-p 27000:27000 -p 27000:27000/udp \
-p 27003:27003 -p 27003:27003/udp \
-p 27020:27020 -p 27021:27021 \
ghcr.io/psykzz/avorion-dockerSet a Steam ID as the default admin:
docker run ... -e USER=<steamid> ghcr.io/psykzz/avorion-dockerThe galaxy data is saved in your local data folder, so you can stop and restart the container at any time.
Note: if you change ports in your server config, update the port mappings accordingly.
Place your settings.ini inside the data directory before starting the container. The full path mounted into the container is /root/.avorion/galaxies/avorion_galaxy.
Any files placed in /opt/server-overwrite inside the container will be copied over the server install before startup. Mount a local directory there to patch server files without rebuilding the image.
See CONTRIBUTING.md