Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Setting Up a Game Server with Docker on Unraid: Help with Folder Mounting and Configuration

Featured Replies

Hello,
I am currently getting familiar with Unraid as a beginner because I am looking for a system for my NUC that is intended to act as a game server. However, I am still having some difficulty with Docker, especially when it comes to mounting folders.

Previously, I ran a game server on my Synology NAS, where I used a Compose file to declare all the variables as follows:

 

services:
  enshrouded:
    image: mornedhels/enshrouded-server:latest
    container_name: enshrouded
    hostname: enshrouded
    restart: unless-stopped
    stop_grace_period: 90s
    ports:
      - "15636:15636/udp"
      - "15637:15637/udp"
    volumes:
      - /volume1/docker/enshrouded:/opt/enshrouded
      - /volume1/docker/enshrouded/savegame:/opt/enshrouded/server/backups
      - ./game:/opt/enshrouded
    environment:
      - SERVER_NAME=Your Name
      - SERVER_PASSWORD=secret
      - UPDATE_CRON=*/30 * * * *
      - BACKUP_CRON=*/30 * * * *
      - BACKUP_MAX_COUNT=6
      - BACKUP_DIR="/opt/enshrouded/server/backups"
      - SERVER_SLOT_COUNT=8
      - PUID=4711
      - PGID=4711
 

The key point is that the game in Docker should transfer the game server files to a folder visible to me and continuously back up the game to a savegame folder. I managed to get this working with some effort back then because I hadn’t fully grasped the concepts yet.

My problem now is: How can I find out which folder in Unraid corresponds to the container folder where I want to access the relevant files? And how do I correctly mount the target path on the host?

 

I entered the variables individually as shown in the example (see photo). In the Settings → Docker, the following paths are specified (see photo).

 

I would greatly appreciate any help.

 

Regards

mike

Unraid_Docker Folders.png

Unraid_Variable.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.