Skip to content

Docker build script for Arch Linux base with Syncthing

License

Notifications You must be signed in to change notification settings

binhex/arch-syncthing

Repository files navigation

Application

Syncthing

Description

Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet.

Build notes

Latest GitHub stable release from Arch Linux AUR.

Usage

docker run -d \
    -p 8384:8384 \
    -p 22000:22000 \
    --name=<container name> \
    -v <path for media files>:/media \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-syncthing

Please replace all user variables in the above command defined by <> with the correct values.

Access application

http://<host ip>:8384

Example

docker run -d \
    -p 8384:8384 \
    -p 22000:22000 \
    --name=syncthing \
    -v /media:/media \
    -v /apps/docker/syncthing:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-syncthing

Notes

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum