docker compose
This commit is contained in:
commit
3af0d1e5a9
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
rsync-server:
|
||||||
|
image: apnar/rsync-server
|
||||||
|
container_name: rsync-server
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Asia/Irkutsk
|
||||||
|
- USERNAME=user
|
||||||
|
- PASSWORD=user
|
||||||
|
- VOLUME=/backup
|
||||||
|
- ALLOW=0.0.0.0/0
|
||||||
|
volumes:
|
||||||
|
- backup:/backup
|
||||||
|
ports:
|
||||||
|
- 873:873
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
backup:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: sync
|
Loading…
Reference in New Issue
Block a user