-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
63 lines (62 loc) · 4.88 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
63 lines (62 loc) · 4.88 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '2.4'
services:
asaserver:
build: .
image: acekorneya/asa_server:2_0_latest
container_name: asa_instance_name
restart: unless-stopped
environment:
- INSTANCE_NAME=Instance_name # The name of the instance
- TZ=America/Los_Angeles # Timezone setting: Change this to your local timezone. Ex.America/New_York, Europe/Berlin, Asia/Tokyo
# NOTE: The container uses fixed user IDs that cannot be changed at runtime.
# - For 2_0_latest images: Files must be owned by UID:GID 1000:1000 on the host
# - For 2_1_latest images: Files must be owned by UID:GID 7777:7777 on the host
# Use 'sudo chown -R 1000:1000 /path/to/your/POK-manager/directory' or
# Use 'sudo chown -R 7777:7777 /path/to/your/POK-manager/directory' to set permissions
- RANDOM_STARTUP_DELAY=TRUE # Add a random delay (0-10s) during startup to prevent update conflicts
- CPU_OPTIMIZATION=FALSE # Set to TRUE to enable CPU optimization helps reduce high CPU usage on some systems, FALSE to disable
- BATTLEEYE=FALSE # Set to TRUE to use BattleEye, FALSE to not use BattleEye
- API=FALSE # Set to TRUE to install and use ArkServerAPI, FALSE to disable ArkServerAPI
- RCON_ENABLED=TRUE # Needed for Graceful Shutdown / Updates / Server Notifications
- DISPLAY_POK_MONITOR_MESSAGE=FALSE # Or TRUE to Show the Server Monitor Messages / Update Monitor
- UPDATE_SERVER=TRUE # Enable or disable update checks
# Only used when more than one instance has UPDATE_SERVER=TRUE.
# POK-manager writes these automatically for managed multi-instance setups.
- UPDATE_COORDINATION_ROLE=MASTER # MASTER or FOLLOWER
- UPDATE_COORDINATION_PRIORITY=1 # Lower number = earlier failover priority
- CHECK_FOR_UPDATE_INTERVAL=24 # Interval between update checks:
# - Use whole numbers (1-24) for hours: 1 = 1 hour, 24 = 24 hours
# - Use decimals for minutes: 0.01 = 1 minute, 0.05 = 5 minutes, 0.30 = 30 minutes
- UPDATE_WINDOW_MINIMUM_TIME=12:00 AM # Defines the minimum time, relative to server time, when an update check should run
- UPDATE_WINDOW_MAXIMUM_TIME=11:59 PM # Defines the maximum time, relative to server time, when an update check should run
- RESTART_NOTICE_MINUTES=30 # Duration in minutes for notifying players before a server restart due to updates
- SAVE_WAIT_SECONDS=5 # How many seconds the manager waits after sending a save before stopping the container (1-60)
- ENABLE_MOTD=FALSE # Enable or disable Message of the Day
- MOTD= # Message of the Day
- MOTD_DURATION=30 # Duration for the Message of the Day
- MAP_NAME=TheIsland # TheIsland, ScorchedEarth / TheIsland_WP, ScorchedEarth_WP, TheCenter_WP / Are the current official maps available
- SESSION_NAME=Server_name # The name of the server session
- SERVER_ADMIN_PASSWORD=MyPassword # The admin password for the server
# Optional Steam credentials used only by the -status command to obtain an EOS token.
# POK-manager can prompt for and save these automatically on the first -status run.
# If Steam Guard is required, POK-manager asks for the current 5-digit mobile code only for that run.
- STEAM_USERNAME= # Steam account name used for -status only
- STEAM_PASSWORD= # Steam password used for -status only
- SERVER_PASSWORD= # Set a server password or leave it blank (ONLY NUMBERS AND CHARACTERS ARE ALLOWED BY DEVS)
- ASA_PORT=7777 # The port for the server
- RCON_PORT=27020 # The port for the RCON
- MAX_PLAYERS=70 # The maximum number of players allowed on the server
- SHOW_ADMIN_COMMANDS_IN_CHAT=FALSE # Set to TRUE to notify admin commands in chat, FALSE to disable notifications
- CLUSTER_ID=cluster # The cluster ID for the server
- MOD_IDS= # Add your mod IDs here, separated by commas, e.g., 123456789,987654321
- PASSIVE_MODS= # Replace with your passive mods IDs
- CUSTOM_SERVER_ARGS= # If You need to add more Custom Args -ForceRespawnDinos -ForceAllowCaveFlyers
ports:
- "7777:7777/tcp"
- "7777:7777/udp"
- "27020:27020/tcp"
volumes:
- "./ServerFiles/arkserver:/home/pok/arkserver"
- "./Instance_my_instance/Saved:/home/pok/arkserver/ShooterGame/Saved"
- "./Cluster:/home/pok/arkserver/ShooterGame/Saved/clusters"
mem_limit: 16G