2023-03-20 21:37:16 +00:00
|
|
|
version: '3'
|
2023-03-01 17:59:16 +00:00
|
|
|
|
|
|
|
services:
|
2023-03-20 21:37:16 +00:00
|
|
|
openbooks:
|
2023-03-01 17:59:16 +00:00
|
|
|
container_name: openbooks
|
|
|
|
image: evanbuss/openbooks:4.5.0
|
2023-03-20 21:37:16 +00:00
|
|
|
command: './openbooks server --dir /books --port 80 --persist --name ${OPENBOOKS_IRC_USERNAME}'
|
2023-03-01 17:59:16 +00:00
|
|
|
ports:
|
|
|
|
- ${APP_PORT}:80
|
|
|
|
volumes:
|
|
|
|
- ${ROOT_FOLDER_HOST}/media/data/books/openbooks:/books
|
2023-03-20 21:37:16 +00:00
|
|
|
environment:
|
|
|
|
- BASE_PATH=/openbooks/
|
2023-03-01 17:59:16 +00:00
|
|
|
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
|
2023-03-20 21:37:16 +00:00
|
|
|
networks:
|
|
|
|
- tipi_main_network
|