2022-08-05 21:29:22 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
library-syncer-client:
|
|
|
|
container_name: library-syncer-client
|
|
|
|
restart: unless-stopped
|
|
|
|
image: ghcr.io/jbowdre/library-syncer-client:latest
|
|
|
|
environment:
|
|
|
|
- TZ=UTC
|
|
|
|
- SYNC_PEER=deb01.lab.bowdre.net
|
|
|
|
- SYNC_PORT=2222
|
|
|
|
- SYNC_SCHEDULE=0 21 * * 5
|
|
|
|
- SYNC_DELAY=true
|
2022-08-06 20:34:15 +00:00
|
|
|
- SYNC_DELAY_MAX_SECONDS=21600
|
2022-08-08 16:20:35 +00:00
|
|
|
- SYNC_MAX_KBPS=0
|
2022-08-05 21:29:22 +00:00
|
|
|
- TLS_NAME=library.lab.bowdre.net
|
|
|
|
- TLS_CUSTOM_CERT=true
|
2022-08-07 20:44:55 +00:00
|
|
|
- LIBRARY_NAME=Library
|
2022-08-08 13:47:01 +00:00
|
|
|
- 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'
|