# Navaja Syncthing Deploy I am going to use this for syncthing backup folders that need to always be updated in real time, given that my laptop is not reliable since sometimes it's turned off or has no wifi. To run syncthing: 1. Create folder `~/synchting` 2. Create a `docker-compose.yaml` file inside with the contents below ```yaml version: "3" services: syncthing: image: syncthing/syncthing container_name: syncthing hostname: navaja-syncthing environment: - PUID=1000 - PGID=1000 volumes: - ~/syncthing/:/var/syncthing ports: - 8384:8384 # Web UI - 22000:22000/tcp # TCP file transfers - 22000:22000/udp # QUIC file transfers - 21027:21027/udp # Receive local discovery broadcasts restart: unless-stopped ``` 3. Run with ```bash cd ~/syncthing docker-compose up -d ``` 4. Open up port 8384 to allow access. 5. Set a password! Otherwise, syncthing is in the absolute open. Standard should be pablo and noesfacilvivirenunmundocentralizado. 6. Create a syncthing subdomain in porkbun. 7. Modify nginx config to route the subdomain to synchthings port.