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 namedbrainbug - Set the permissions
g+rwxfor this dataset - Set group ownership to
appsfor this dataset - Install the app
dockgefrom the truenas scale apps market - Via shell, navigate to your dockge
stacksdirectory mkdir dockge-peti-lan-serverwget https://github.com/Poeschl/pETI-server/raw/refs/heads/main/deploy/eti-config.yamlwget https://raw.githubusercontent.com/Poeschl/pETI-server/refs/heads/main/deploy/resilio-config.confwget -O compose.yml https://github.com/Poeschl/pETI-server/raw/refs/heads/main/deploy/docker-compose.yamlwget https://github.com/Poeschl/pETI-server/raw/refs/heads/main/deploy/resilio-offline-config.sh- vim
compose.yml- Remove the
volumessection at then end (last three lines) - Replace
sync-volume:with/mnt/brainbug/data/game/etilan: - Replace
PUID: 1000withPUID: 568 - Replace
PGID: 1000withPGID: 568
- Remove the
- vim
eti-config.yaml- Replace
resilio_host: resilio:8080withresilio_host: resilio:38080
- Replace
- vim
resilio-config.conf- Replace
"listen" : "0.0.0.0:8080",with"listen" : "0.0.0.0:38080",
- Replace
- 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
The author does not allow comments to this entry
Comments
Display comments as Linear | Threaded