mirror of
https://github.com/jbowdre/library-syncer.git
synced 2024-11-23 18:22:18 +00:00
25 lines
667 B
YAML
25 lines
667 B
YAML
version: '3'
|
|
services:
|
|
library-syncer-client:
|
|
container_name: clr-client
|
|
restart: unless-stopped
|
|
image: ghcr.io/jbowdre/clr-client:latest
|
|
environment:
|
|
- TZ=UTC
|
|
- SYNC_PEER=clr-server.example.com
|
|
- SYNC_PORT=2222
|
|
- SYNC_SCHEDULE=0 21 * * 5
|
|
- SYNC_DELAY=true
|
|
- SYNC_DELAY_MAX_SECONDS=21600
|
|
- SYNC_MAX_BW=0
|
|
- TLS_NAME=library.example.com
|
|
- TLS_CUSTOM_CERT=true
|
|
- LIBRARY_NAME=Library
|
|
- LIBRARY_BROWSE=true
|
|
ports:
|
|
- "80:80/tcp"
|
|
- "443:443/tcp"
|
|
volumes:
|
|
- './data/ssh:/syncer/.ssh'
|
|
- './data/library:/syncer/library'
|
|
- './data/certs:/etc/caddycerts'
|