130 lines
3.6 KiB
YAML
130 lines
3.6 KiB
YAML
name: ark-suac
|
|
|
|
services:
|
|
ark-asa-server:
|
|
image: mschnitzer/asa-linux-server:1.4.0
|
|
container_name: ark-asa-server
|
|
hostname: ark-asa-server
|
|
entrypoint: /usr/bin/start_server
|
|
user: gameserver
|
|
tty: true
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
TZ: Europe/Stockholm
|
|
ASA_START_PARAMS: 'TheIsland_WP?listen?Port=7777?RCONPort=27020?RCONEnabled=True -WinLiveMaxPlayers=50 -clusterid=default -ClusterDirOverride="/home/gameserver/cluster-shared"'
|
|
ENABLE_DEBUG: "0"
|
|
|
|
ports:
|
|
- target: 7777
|
|
published: "7777"
|
|
protocol: udp
|
|
- target: 27020
|
|
published: "27020"
|
|
protocol: tcp
|
|
|
|
depends_on:
|
|
- set-permissions
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/steam
|
|
target: /home/gameserver/Steam
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/steamcmd
|
|
target: /home/gameserver/steamcmd
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/server-files
|
|
target: /home/gameserver/server-files
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/cluster-shared
|
|
target: /home/gameserver/cluster-shared
|
|
- type: bind
|
|
source: /etc/localtime
|
|
target: /etc/localtime
|
|
read_only: true
|
|
|
|
# Secure-by-default baseline. Relax only if appen kräver det.
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
|
|
x-casaos:
|
|
envs:
|
|
- container: TZ
|
|
description:
|
|
en_us: Timezone, for example Europe/Stockholm
|
|
- container: ASA_START_PARAMS
|
|
description:
|
|
en_us: ARK start params, including map and ports
|
|
- container: ENABLE_DEBUG
|
|
description:
|
|
en_us: Set 1 to enter debug mode without starting the server
|
|
ports:
|
|
- container: "7777"
|
|
description:
|
|
en_us: Game port for player connections (UDP)
|
|
- container: "27020"
|
|
description:
|
|
en_us: RCON admin port (TCP)
|
|
volumes:
|
|
- container: /home/gameserver/Steam
|
|
description:
|
|
en_us: Steam runtime cache
|
|
- container: /home/gameserver/steamcmd
|
|
description:
|
|
en_us: SteamCMD cache
|
|
- container: /home/gameserver/server-files
|
|
description:
|
|
en_us: ARK server files and saved data
|
|
- container: /home/gameserver/cluster-shared
|
|
description:
|
|
en_us: Shared cluster transfer data
|
|
|
|
set-permissions:
|
|
image: opensuse/leap:15.6
|
|
container_name: ark-asa-set-permissions
|
|
user: root
|
|
restart: "no"
|
|
entrypoint:
|
|
- /bin/bash
|
|
- -c
|
|
- chown -R 25000:25000 /steam /steamcmd /server-files /cluster-shared
|
|
volumes:
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/steam
|
|
target: /steam
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/steamcmd
|
|
target: /steamcmd
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/server-files
|
|
target: /server-files
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/cluster-shared
|
|
target: /cluster-shared
|
|
|
|
x-casaos:
|
|
architectures:
|
|
- amd64
|
|
- arm64
|
|
main: ark-asa-server
|
|
category: phirna
|
|
author: Joachim Friberg
|
|
developer: Joachim Friberg
|
|
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/ark-survival-ascended.png
|
|
tagline:
|
|
en_us: ARK Survival Ascended dedicated server for ZimaOS
|
|
description:
|
|
en_us: |
|
|
Host your own ARK: Survival Ascended dedicated server.
|
|
|
|
Minimum requirements:
|
|
- RAM: 16 GB (24 GB recommended)
|
|
- Disk: 20 GB+ for server files and updates
|
|
title:
|
|
en_us: ARK Survival Ascended Server
|
|
index: /
|
|
port_map: "7777"
|