library-syncer/client/docker-compose.yaml

26 lines
667 B
YAML
Raw Permalink Normal View History

2022-08-05 21:29:22 +00:00
version: '3'
services:
library-syncer-client:
2023-02-21 15:46:47 +00:00
container_name: clr-client
2022-08-05 21:29:22 +00:00
restart: unless-stopped
2023-02-21 15:46:47 +00:00
image: ghcr.io/jbowdre/clr-client:latest
2022-08-05 21:29:22 +00:00
environment:
- TZ=UTC
2023-02-21 15:46:47 +00:00
- SYNC_PEER=clr-server.example.com
2022-08-05 21:29:22 +00:00
- SYNC_PORT=2222
- SYNC_SCHEDULE=0 21 * * 5
- SYNC_DELAY=true
- SYNC_DELAY_MAX_SECONDS=21600
2022-08-15 22:00:18 +00:00
- SYNC_MAX_BW=0
2023-02-21 15:46:47 +00:00
- TLS_NAME=library.example.com
2022-08-05 21:29:22 +00:00
- TLS_CUSTOM_CERT=true
- LIBRARY_NAME=Library
- LIBRARY_BROWSE=true
2022-08-05 21:29:22 +00:00
ports:
- "80:80/tcp"
- "443:443/tcp"
volumes:
- './data/ssh:/syncer/.ssh'
- './data/library:/syncer/library'
- './data/certs:/etc/caddycerts'