# docker-syncthing

Syncthing Docker image for RaspberryPi.

## Quick start

Clone this repository and build the Docker image.

```shell
$ git clone git@ssh.github.com:nVentiveUX/docker-syncthing.git
$ cd docker-syncthing
$ docker build --rm -t nventiveux/docker-syncthing:0.14.18 .
```

Run the container

```shell
$ {
sudo cp systemd/docker-syncthing@.service /etc/systemd/system/ &&
sudo cp systemd/docker-syncthing@.default /etc/default/docker-syncthing@$USER &&
sudo systemctl daemon-reload &&
sudo systemctl enable docker-syncthing@$USER.service;
}
```

Provide some folder to sync

```shell
$ sudo vi /etc/default/docker-syncthing@$USER
```

Start Syncthing

```shell
$ {
sudo systemctl start docker-syncthing@$USER.service &&
sudo systemctl status -l docker-syncthing@$USER.service;
}
```

## References

Based on [tianon/dockerfiles](https://github.com/tianon/dockerfiles).

# docker-syncthing

Syncthing Docker image for RaspberryPi.

## Quick start

Clone this repository and build the Docker image.

```shell
$ git clone git@ssh.github.com:nVentiveUX/docker-syncthing.git
$ cd docker-syncthing
$ docker build --rm -t nventiveux/docker-syncthing:0.14.18 .
```

Run the container

```shell
$ {
sudo cp systemd/docker-syncthing@.service /etc/systemd/system/ &&
sudo cp systemd/docker-syncthing@.default /etc/default/docker-syncthing@$USER &&
sudo systemctl daemon-reload &&
sudo systemctl enable docker-syncthing@$USER.service;
}
```

Provide some folder to sync

```shell
$ sudo vi /etc/default/docker-syncthing@$USER
```

Start Syncthing

```shell
$ {
sudo systemctl start docker-syncthing@$USER.service &&
sudo systemctl status -l docker-syncthing@$USER.service;
}
```

Open web browser to https://localhost:8384/ (replace `localhost` by your RPi address).

## References

Based on [tianon/dockerfiles](https://github.com/tianon/dockerfiles).

Add details on access to syncthing admin page.
Add details on access to syncthing admin page.
