Advertisement
Guest User

Ubooquity Compose

a guest
Jul 18th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #
  2. # Ubooquity - Comic Book Server
  3. #
  4. ubooquity:
  5. restart: unless-stopped
  6. image: linuxserver/ubooquity
  7. container_name: ubooquity
  8. hostname: ubooquity
  9. cpu_shares: 1024
  10. depends_on:
  11. nginx-proxy:
  12. condition: service_healthy
  13. letsencrypt-nginx-proxy-companion:
  14. condition: service_started
  15. volumes:
  16. - /etc/localtime:/etc/localtime:ro
  17. - ${CONFIGS}/Ubooquity:/config
  18. - /bin/netstat:/bin/netstat:ro
  19. - ${MEDIA}/eBooks/Books:/books
  20. - ${MEDIA}/eBooks/Comics:/comics
  21. - ${MEDIA}/eBooks/Files:/files
  22. environment:
  23. - PUID=${USERID}
  24. - PGID=${GROUPID}
  25. - TZ=${TIMEZONE}
  26. - VIRTUAL_HOST=ubooquity.${MYDOMAIN}
  27. - VIRTUAL_PORT=2202
  28. - VIRTUAL_NETWORK=nginx-proxy
  29. - LETSENCRYPT_HOST=ubooquity.${MYDOMAIN}
  30. - LETSENCRYPT_EMAIL=${MYEMAIL}
  31. healthcheck:
  32. test: ["CMD-SHELL", "netstat -ntlp | grep :2202"]
  33. interval: 10s
  34. timeout: 2s
  35. retries: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement