From 10f3d04f9e4100d191494bca248ae8185c84cf52 Mon Sep 17 00:00:00 2001 From: NightPumpkin Date: Sat, 6 Mar 2021 09:44:15 +0100 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20compose=20syncthing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Création compose syncthing --- docker-compose/syncthing/docker-compose.yml | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docker-compose/syncthing/docker-compose.yml diff --git a/docker-compose/syncthing/docker-compose.yml b/docker-compose/syncthing/docker-compose.yml new file mode 100644 index 0000000..635bf94 --- /dev/null +++ b/docker-compose/syncthing/docker-compose.yml @@ -0,0 +1,31 @@ +## Discord Plex FR : https://discord.gg/ERpYMqS +## Version 2021-03-06 +version: "2.1" + +services: + syncthing: + image: ghcr.io/linuxserver/syncthing + container_name: syncthing + hostname: syncthing #optional + networks: + - syncthing_network +# Decommenter les 2 lignes suivantes pour que watchtower surveille ce conteneur +# labels: +# - com.centurylinklabs.watchtower.enable=true + environment: + - PUID=1000 # Utiliser la commande (en SSH) : id NOM_UTILISATEUR + - PGID=100 # Utiliser la commande (en SSH) : id NOM_UTILISATEUR + - TZ=Europe/Paris + volumes: + - /volume1/docker/syncthing/config:/config + - /volume1/docker/syncthing/data:/data + ports: + - 8384:8384 + - 22000:22000 + - 21027:21027/udp + restart: unless-stopped + +networks: + syncthing_network: + external: + name: syncthing_network \ No newline at end of file