929 B
929 B
Laptop Syncthing Deploy
I wanted to run Synchthing on Oli but since Oli is running on Ubuntu 18.04 as of today, the available syncthing versions are too old to work with my phone. So I will workaround this by deploying syncthing in Oli with docker.
To run syncthing:
- Create folder
~/st-sync - Create a
docker-compose.yamlfile inside with the contents below
version: "3"
services:
syncthing:
image: syncthing/syncthing
container_name: syncthing
hostname: my-syncthing
environment:
- PUID=1000
- PGID=1000
volumes:
- ~/st-sync:/var/syncthing
- ~/hojas:/var/syncthing/hojas
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
- You can run with
cd ~/st-sync
docker-compose up -d