Sign inSign up

luxusburg/aska-server

By luxusburg

Updated over 1 year ago

Image
0

2.1K

luxusburg/aska-server repository overview

Docker for a Aska dedicated server

Docker Pulls

Image Size

Docker Hub

Table of contents

This is a Docker container to help you get started with hosting your own Aska dedicated server.

This Docker container has been tested and will work on the following OS:

  • Linux (Ubuntu/Debian)

Tip

Add environment variables so that you can for example change the password of the server On the bottom you will find a list of all environment variables to change, if you want to use your own server_properties.txt file set the CUSTOM_CONFIG to true

Important

The first server start can take a few minutes! If you are stuck in the logs on this part just be a bit more patient:
wine: created the configuration directory '/home/aska/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:start_rpcss Failed to open RpcSs service
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0090:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption
0090:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export
0098:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption

Docker Run

This will create the folders './server' and './data' in your current folder where you execute the code

Recommendation: Create a folder before executing this docker command

To deploy this docker project run:

docker run -d \
    --name aska \
    -p 27016:27016/udp \    
    -p 27015:27015/udp \
    -v ./server:/home/aska/server_files \
    -v ./data:/home/aska/persistent_data \
    -e TZ=Europe/Paris \
    -e PASSWORD=change_me
    -e SERVER_NAME='Aska docker by Luxusburg'
    -e KEEP_WORLD_ALIVE=false
    luxusburg/aska-server:latest

Docker compose Deployment

This will create the folders './server' and './data' in your current folder where you execute combose file

Recommendation: Create a folder before executing the docker compose file

Important

Older docker compose version needs this line before the **services:** line

version: '3'

services:
  aska:
    container_name: aska
    image: luxusburg/aska-server:latest
    network_mode: bridge
    environment:
      - TZ=Europe/Paris
      - PASSWORD=change_me
      - SERVER_NAME='Aska docker by Luxusburg'
      - KEEP_WORLD_ALIVE=false
    volumes:
      - './server:/home/aska/server_files:rw'
      - './data:/home/aska/persistent_data:rw'
    ports:
      - '27016:27016/udp'
      - '27015:27015/udp'
    restart: unless-stopped

Environment variables server settings

You can use these environment variables for your server settings:

VariableKeyDescription
TZEurope/Paristimezone
SERVER_NAMEoptional Server NameOverride for the host name that is displayed in the session list
PASSWORDoptional passwordSets the server password.
SERVER_PORTdefault: 27015The port that clients will connect to for gameplay
SERVER_QUERY_PORTdefault: 27016The port that will manage server browser related duties and info
AUTHENTICATION_TOKENoptionalThe token needed for an authentication without a Steam client
REGIONoptional see config file for optionsLeave default to ping the best region
KEEP_WORLD_ALIVEdefault: falseIf set to true when the session is open, the world is also updating, even without players, if set to false, the world loads when the first player joins and the world unloads when the last player leaves
AUTOSAVE_STYLEdefault: every morningThe style in which the server should save, possible options: every morning, disabled, every 5 minutes, every 10 minutes, every 15 minutes, every 20 minutes
CUSTOM_CONFIGoptional: true of falseSet this to true if the server should only accept you manual adapted server_properties.txt file

More options exists in the server properties files please modify it in there!

Environment variables for the User PUID/GUID

VariableKeyDescription
PUIDdefault: 1000User ID
PGUIDdefault: 1000Group ID

Environemnt variables for the beta branch

VariableKeyDescription
BETANAMEno default valueSet the beta branch name. Don't use "" or ''!
BETAPASSWORDno default valueSet the beta branch password. Don't use "" or ''!

Tag summary

Content type

Image

Digest

sha256:71beee429

Size

364.9 MB

Last updated

over 1 year ago

docker pull luxusburg/aska-server