Merge pull request 'Création compose syncthing' (#30) from ninja-kid into master

Reviewed-on: https://gitea.zoz-serv.org/Zoz/plex_fr_discord_repo/pulls/30
This commit is contained in:
Zoz 2021-03-06 11:37:06 +01:00
commit f4e6801670

View File

@ -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