/avorion-lgsm

Containerized Avorion server using LGSM

Primary LanguageHCL

Image: amadd0x/avorion-lgsm:latest

This is a work in progress. The image is based on the LinuxGSM project and is intended to be used with the Avorion game server.

Example docker-compose.yml file:

version: '3'
services:
  avorion:
    image: amadd0x/avorion-lgsm:latest
    ports:
      - 27000:27000
      - 27003:27003
      - 27021:27021
      - 27020:27020
      - 27015:27015
    volumes:
      - <host_dir>/serverfiles:/home/avserver/serverfiles
      - <host_dir>/log:/home/avserver/log
      - <host_dir>/backup:/home/avserver/lgsm/backup
      - <host_dir>/lgsm-config:/home/avserver/lgsm/config-lgsm/avserver
    environment:
      - TimeZone=America/Chicago # Update timezone if needed
    restart_policy:
      condition: on-failure
      delay: 15s
      max_attempts: 2
      window: 30m

Example nomad job file: avorion.nomad.hcl