Created
October 31, 2019 18:50
-
-
Save optimistic5/1c9ccbf4753945af119e4ce63cb11adf to your computer and use it in GitHub Desktop.
docker-compose for syncthing with jwilder nginx-proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
syncthing: | |
image: syncthing/syncthing | |
restart: always | |
ports: | |
- "8384:8384" | |
- "22000:22000" | |
- "21027:21027/udp" | |
environment: | |
- VIRTUAL_HOST=YOUR_DOMAIN | |
- LETSENCRYPT_HOST=YOUR_DOMAIN | |
- LETSENCRYPT_EMAIL=info@YOUR_DOMAIN | |
- VIRTUAL_PORT=8384 | |
- VIRTUAL_PROTO=https | |
volumes: | |
- "./data:/var/syncthing" | |
networks: | |
default: | |
external: | |
name: nginx-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment