forked from thmhoag/arkserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (41 loc) · 2.15 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
42 lines (41 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.9"
services:
ark-server:
build:
context: .
dockerfile: Dockerfile
image: gornoka/arkserver:latest
volumes:
- "steam:/home/steam/Steam"
- "./ark_server_data_on_host:/ark" # ensure that the docker user has write rwx (7) permissions in this folder
command: [/home/steam/run.sh]
env_file: .env # use this file if you want to use other params shared between multiple instances or just to reduce the docker compose size
environment:
am_ark_SessionName: Ark Server #Server name as it will show on the steam server list
am_serverMap: TheIsland # Game map to load
#example vanilla map strings here TheIsland, TheCenter, ScorchedEarth_P, Ragnarok, Aberration_P, Extinction, Valguero_P and Genesis, CrystalIsles, Gen2
am_ark_ServerAdminPassword: PLEASE_k3yb04rdc4t_CHANGE_ME #Admin password to be used via ingame console or RCON
am_ark_MaxPlayers: 70 # Max concurrent players in the game
am_ark_QueryPort: 27015 #Steam query port (allows the server to show up on the steam list) DO NOT CHANGE HERE USE ports below
am_ark_Port: 7778 # Game server port (allows clients to connect to the server) THIS MUST MATCH THE PORTS BELOW, AS THEY ARE ADVERTISED TO STEAM
am_ark_RCONPort: 32330 #RCON port THIS MUST MATCH THE PORTS BELOW, AS THEY ARE ADVERTISED TO STEAM
am_arkwarnminutes: 15 #Number of minutes to wait/warn players before updating/restarting
am_arkflag_crossplay: "false" #Allow crossyplay with Players on Epic
# for additional options check ./arkmanager/arkmanager.cfg
# example adding mods:
#am_ark_GameModIds: "2508593144,731604991,1941328406,849372965"
restart: unless-stopped
ports: # change ports here in case you wish to use different ports and or multiple servers in parrallel
- "7777:7777" # second ark server port
- "7778:7778" # "host:container"
- "32330:32330" # Rcon port
- "27015:27015" # steam query port
- "7777:7777/udp" # second ark server port
- "7778:7778/udp" # "host:container"
- "27015:27015/udp"# steam query port
ulimits:
nofile:
soft: 10000
hard: 10000
volumes:
steam: