GithubHelp home page GithubHelp logo

m0n7y5 / docker-avorion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luckyturtledev/docker-avorion

0.0 1.0 0.0 20 KB

Docker image for Avorion's dedicated server [BETA BRANCH]

Dockerfile 100.00%
avorion beta docker podman

docker-avorion's Introduction

Docker Automated build Docker Pulls

Avorion[Beta Branch] 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,playersandsectors 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/udp -p 27020:27020/udp -p 27021:27021/udp m0n7y5/avorion-beta

or use docker-compose:

version: '3.3'
services:
    avorion-docker:
        image: m0n7y5/avorion-beta
        container_name: avorion
        volumes:
            - './data:/home/steam/.avorion/galaxies/avorion_galaxy'
        ports:
            - '27000:27000'
            - '27000:27000/udp'
            - '27003:27003/udp'
            - '27020:27020/udp'
            - '27022:27021/udp'
        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

docker-avorion's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.