Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Ubooquity - Comic Book Server
- #
- ubooquity:
- restart: unless-stopped
- image: linuxserver/ubooquity
- container_name: ubooquity
- hostname: ubooquity
- cpu_shares: 1024
- depends_on:
- nginx-proxy:
- condition: service_healthy
- letsencrypt-nginx-proxy-companion:
- condition: service_started
- volumes:
- - /etc/localtime:/etc/localtime:ro
- - ${CONFIGS}/Ubooquity:/config
- - /bin/netstat:/bin/netstat:ro
- - ${MEDIA}/eBooks/Books:/books
- - ${MEDIA}/eBooks/Comics:/comics
- - ${MEDIA}/eBooks/Files:/files
- environment:
- - PUID=${USERID}
- - PGID=${GROUPID}
- - TZ=${TIMEZONE}
- - VIRTUAL_HOST=ubooquity.${MYDOMAIN}
- - VIRTUAL_PORT=2202
- - VIRTUAL_NETWORK=nginx-proxy
- - LETSENCRYPT_HOST=ubooquity.${MYDOMAIN}
- - LETSENCRYPT_EMAIL=${MYEMAIL}
- healthcheck:
- test: ["CMD-SHELL", "netstat -ntlp | grep :2202"]
- interval: 10s
- timeout: 2s
- retries: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement