fix: use the hostname variable

This commit is contained in:
Michele Cereda
2024-01-04 23:34:38 +01:00
parent fba01e685a
commit 1540711552

View File

@@ -1,13 +1,14 @@
--- ---
# See https://github.com/syncthing/syncthing/blob/main/README-Docker.md
version: "3" version: "3"
services: services:
syncthing: syncthing:
image: syncthing/syncthing image: syncthing/syncthing:1.27.2
container_name: syncthing container_name: syncthing
hostname: planck hostname: ${HOSTNAME}
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=100
volumes: volumes:
- ./config:/var/syncthing/config - ./config:/var/syncthing/config
- ./data:/var/syncthing/data - ./data:/var/syncthing/data