Bot Updating Documentation

pull/17/head
LinuxServer-CI 2020-09-16 01:54:26 +01:00
rodzic 48e3facc5d
commit 4450b93b85
1 zmienionych plików z 13 dodań i 9 usunięć

Wyświetl plik

@ -36,16 +36,16 @@ Here are some example snippets to help you get started creating a container from
``` ```
docker create \ docker create \
--name=syncthing \ --name=syncthing \
--hostname=syncthing `#optional` \
-e PUID=1000 \ -e PUID=1000 \
-e PGID=1000 \ -e PGID=1000 \
-e TZ=Europe/London \ -e TZ=Europe/London \
-e UMASK_SET=<022> \
-p 8384:8384 \ -p 8384:8384 \
-p 22000:22000 \ -p 22000:22000 \
-p 21027:21027/udp \ -p 21027:21027/udp \
-v </path/to/appdata/config>:/config \ -v /path/to/appdata/config:/config \
-v </path/to/data1>:/data1 \ -v /path/to/data1:/data1 \
-v </path/to/data2>:/data2 \ -v /path/to/data2:/data2 \
--restart unless-stopped \ --restart unless-stopped \
linuxserver/syncthing linuxserver/syncthing
``` ```
@ -62,15 +62,15 @@ services:
syncthing: syncthing:
image: linuxserver/syncthing image: linuxserver/syncthing
container_name: syncthing container_name: syncthing
hostname: syncthing #optional
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Europe/London - TZ=Europe/London
- UMASK_SET=<022>
volumes: volumes:
- </path/to/appdata/config>:/config - /path/to/appdata/config:/config
- </path/to/data1>:/data1 - /path/to/data1:/data1
- </path/to/data2>:/data2 - /path/to/data2:/data2
ports: ports:
- 8384:8384 - 8384:8384
- 22000:22000 - 22000:22000
@ -98,7 +98,6 @@ Docker images are configured using parameters passed at runtime (such as those a
| `PUID=1000` | for UserID - see below for explanation | | `PUID=1000` | for UserID - see below for explanation |
| `PGID=1000` | for GroupID - see below for explanation | | `PGID=1000` | for GroupID - see below for explanation |
| `TZ=Europe/London` | Specify a timezone to use EG Europe/London. | | `TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
| `UMASK_SET=<022>` | Umask setting - [explanation](https://askubuntu.com/questions/44542/what-is-umask-and-how-does-it-work) |
### Volume Mappings (`-v`) ### Volume Mappings (`-v`)
@ -109,6 +108,10 @@ Docker images are configured using parameters passed at runtime (such as those a
| `/data2` | Data2 | | `/data2` | Data2 |
#### Miscellaneous Options
| Parameter | Function |
| :-----: | --- |
| `--hostname=` | Optionally the hostname can be defined. |
## Environment variables from files (Docker secrets) ## Environment variables from files (Docker secrets)
@ -164,6 +167,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
## Versions ## Versions
* **15.09.20:** - Use go from alpine edge repo to compile. Remove duplicate UMASK env var. Add hostname setting.
* **01.06.20:** - Rebasing to alpine 3.12. * **01.06.20:** - Rebasing to alpine 3.12.
* **19.12.19:** - Rebasing to alpine 3.11. * **19.12.19:** - Rebasing to alpine 3.11.
* **28.06.19:** - Rebasing to alpine 3.10. * **28.06.19:** - Rebasing to alpine 3.10.