27 lines
442 B
YAML
27 lines
442 B
YAML
---
|
|
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 |