docker compose

This commit is contained in:
Pavel Kuleshov 2023-02-15 06:33:26 +08:00
commit 3af0d1e5a9

27
docker-compose.yml Normal file
View 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