Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Zrimsek committed Jul 19, 2024
1 parent 44572fc commit 5b3884f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions stacks/media-consumption/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,34 @@ services:
- "traefik.http.routers.audiobookshelf.middlewares=authelia@docker"
- "traefik.http.services.audiobookshelf.loadbalancer.server.port=80"
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped

# music
navidrome:
image: deluan/navidrome:latest
container_name: navidrome
user: ${PUID:-1000}:${PGID:-1000}
environment:
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_BASEURL: https://${NAVIDROME_URL}
ND_SPOTIFY_ID: ${SPOTIFY_API_CLIENT_ID}
ND_SPOTIFY_SECRET: ${SPOTIFY_API_CLIENT_SECRET}
volumes:
- ${CONFIG_DIR}/navidrome:/data
- ${MEDIA_DIR}/music:/music:ro
networks:
- public
labels:
- "traefik.enable=true"
- "traefik.http.routers.navidrome.rule=Host(`${NAVIDROME_URL}`)"
- "traefik.http.routers.navidrome.entrypoints=websecure"
- "traefik.http.routers.navidrome.tls.certresolver=tlsresolver"
- "traefik.http.routers.navidrome.middlewares=authelia@docker"
- "traefik.http.services.navidrome.loadbalancer.server.port=4533"
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped

networks:
public:
Expand Down

0 comments on commit 5b3884f

Please sign in to comment.