app-store/apps/openbooks/docker-compose.yml
2023-03-20 22:37:16 +01:00

23 lines
762 B
YAML

version: '3'
services:
openbooks:
container_name: openbooks
image: evanbuss/openbooks:4.5.0
command: './openbooks server --dir /books --port 80 --persist --name ${OPENBOOKS_IRC_USERNAME}'
ports:
- ${APP_PORT}:80
volumes:
- ${ROOT_FOLDER_HOST}/media/data/books/openbooks:/books
environment:
- BASE_PATH=/openbooks/
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.openbooks.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.openbooks.entrypoints: websecure
traefik.http.routers.openbooks.service: openbooks
traefik.http.routers.openbooks.tls.certresolver: myresolver
traefik.http.services.openbooks.loadbalancer.server.port: 80
networks:
- tipi_main_network