https://github.com/luckyturtledev/docker-avorion
Docker image for Avorion's dedicated server
https://github.com/luckyturtledev/docker-avorion
Last synced: 6 months ago
JSON representation
Docker image for Avorion's dedicated server
- Host: GitHub
- URL: https://github.com/luckyturtledev/docker-avorion
- Owner: LuckyTurtleDev
- Created: 2019-09-12T12:22:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T19:02:26.000Z (about 4 years ago)
- Last Synced: 2025-04-07T04:24:21.383Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
Avorion for Docker
==================
### Game Info
For some information about the game see https://www.avorion.net/
This is a docker image to create a dedicated server.
## Getting started
Starting the server
* Create a `/data` directory, this will be mounted into the container.
* Change the owner of the `/data` directory to UID 1000
* Start the server to generate the configfiles.
* Stop the server.
* Edit the configfiles as you like.
* If necessary delete the galaxy (```alliances```,```factions```,```moddata```,```players```and```sectors``` folders)
* Start the server
> **Note: if you change ports in the config, you'll need to adjust the port mappings.**
Run the following to start the server.
```
docker run --name avorion -d -v `pwd`/data:/home/steam/.avorion/galaxies/avorion_galaxy -p 27000:27000 -p 27000:27000/udp -p 27003:27003 -p 27003:27003/udp -p 27020:27020 -p 27022:27022 lukas1818/avorion
```
or use docker-compose:
```
version: '3.3'
services:
avorion-docker:
image: registry.gitlab.com/luckyturtledev/avorion
container_name: avorion
volumes:
- './data:/home/steam/.avorion/galaxies/avorion_galaxy'
ports:
- '27000:27000'
- '27000:27000/udp'
- '27003:27003'
- '27003:27003/udp'
- '27020:27020'
- '27022:27022'
restart: unless-stopped
```
The server data will be saved locally on the host machine within the data folder. This allows you to bring the server down, and pull the new image when needed to do any updates.
## Contributing
See [CONTRIBUTING.md](https://gitlab.com/LuckyTurtleDev/docker-avorion/-/blob/master/CONTRIBUTING.md)