troublshooting to allow 7dtd online

This commit is contained in:
2026-09-17 09:54:41 -06:00
parent d5b6788ca5
commit 4de19ee70d

View File

@@ -15,6 +15,8 @@
# The container (linuxserver-style base) runs as uid/gid 1000 (PUID/PGID) and chowns its volumes on # The container (linuxserver-style base) runs as uid/gid 1000 (PUID/PGID) and chowns its volumes on
# start; pre-seeding with that ownership lets the init script and server write alongside our xml. # start; pre-seeding with that ownership lets the init script and server write alongside our xml.
# NOTE: NO /etc/timezone or /etc/localtime bind mounts here (unlike minecraft/zomboid) - the image's
# user.sh writes BOTH paths itself to apply the TimeZone env var, so ro binds crash-loop the container.
- name: Create 7 Days to Die saves dir (container user) - name: Create 7 Days to Die saves dir (container user)
ansible.builtin.file: ansible.builtin.file:
path: /opt/apps/7dtd/data/7DaysToDie path: /opt/apps/7dtd/data/7DaysToDie
@@ -50,8 +52,6 @@
volumes: volumes:
- /opt/apps/7dtd/data:/home/sdtdserver/.local/share/7DaysToDie:z - /opt/apps/7dtd/data:/home/sdtdserver/.local/share/7DaysToDie:z
- /opt/apps/7dtd/serverfiles:/home/sdtdserver/serverfiles:z - /opt/apps/7dtd/serverfiles:/home/sdtdserver/serverfiles:z
- /usr/share/zoneinfo/America/Denver:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports: ports:
# Required: game port (TCP+UDP), Steam query/beacon ports (UDP) # Required: game port (TCP+UDP), Steam query/beacon ports (UDP)
- "26900:26900/tcp" - "26900:26900/tcp"