Skip to content

How to setup ETI lan sync server on a TrueNAS Scale using docker

Setup steps

In this howto, I will show you how you can setup a eti lan sync server as docker compose stack on a truenas scale system.

The etilan sync data files are stored in a dedicated dataset to separate the logical code from the game data.

  • Create a dedicated dataset on your storage, e.g. /mnt/brainbug/data/game/etilan (if your storage pool is named brainbug
  • Set the permissions g+rwx for this dataset
  • Set group ownership to apps for this dataset
  • Install the app dockge from the truenas scale apps market
  • Via shell, navigate to your dockge stacks directory
  • mkdir dockge-peti-lan-server
  • wget https://github.com/Poeschl/pETI-server/raw/refs/heads/main/deploy/eti-config.yaml
  • wget https://raw.githubusercontent.com/Poeschl/pETI-server/refs/heads/main/deploy/resilio-config.conf
  • wget -O compose.yml https://github.com/Poeschl/pETI-server/raw/refs/heads/main/deploy/docker-compose.yaml
  • wget https://github.com/Poeschl/pETI-server/raw/refs/heads/main/deploy/resilio-offline-config.sh
  • vim compose.yml
    • Remove the volumes section at then end (last three lines)
    • Replace sync-volume: with /mnt/brainbug/data/game/etilan:
    • Replace PUID: 1000 with PUID: 568
    • Replace PGID: 1000 with PGID: 568
  • vim eti-config.yaml
    • Replace resilio_host: resilio:8080 with resilio_host: resilio:38080
  • vim resilio-config.conf
    • Replace "listen" : "0.0.0.0:8080", with "listen" : "0.0.0.0:38080",
  • Navigate to you dockge webpage (e.g. http://<your.truenas.scale.ip>:31014/compose/dockge-peti-lan-server
  • Click on start

What are the pitfalls?

TrueNAS Scale does not allow to create running docker containers with port below 9000. That is the reason why we change the resilio service port from 8080, to 38080.

The docker containers are running as user apps. The apps user id and the group id is 568. Because of that, we've changed the PUID and the PGID. Furthermore, we've changed the permissions and the ownership of our dataset.

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

The author does not allow comments to this entry

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Markdown format allowed
Form options