Add Audiobookshelf-App
This commit is contained in:
32
Audio/Audiobookshelf/docker-compose-traefik.yml
Normal file
32
Audio/Audiobookshelf/docker-compose-traefik.yml
Normal file
@ -0,0 +1,32 @@
|
||||
#### NETWORKS
|
||||
networks:
|
||||
docker-traefik_front_network:
|
||||
external: true
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
||||
audiobookshelf:
|
||||
container_name: audiobookshelf-app
|
||||
hostname: audiobookshelf-app
|
||||
image: ghcr.io/advplyr/audiobookshelf:latest
|
||||
networks:
|
||||
- docker-traefik_front_network
|
||||
volumes:
|
||||
- ./audiobooks:/audiobooks
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=docker-traefik_front_network"
|
||||
## HTTP
|
||||
- "traefik.http.routers.audiobookshelf-http.rule=Host(`audiobookshelf.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.audiobookshelf-http.entrypoints=http"
|
||||
## HTTPS
|
||||
- "traefik.http.routers.audiobookshelf-https.rule=Host(`audiobookshelf.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.audiobookshelf-https.entrypoints=https"
|
||||
- "traefik.http.routers.audiobookshelf-https.tls=true"
|
||||
- "traefik.http.routers.audiobookshelf.service=audiobookshelf-service"
|
||||
## Middleware
|
||||
## Service
|
||||
- "traefik.http.services.audiobookshelf-service.loadbalancer.server.port=3000"
|
Reference in New Issue
Block a user