wiki/docs/docker-compose/Airsonic.md
2024-05-04 17:03:07 +02:00

877 B

Portainer Stack:

version: "3.9"
services:
  airsonic:
    image: lscr.io/linuxserver/airsonic-advanced:${TAG-latest}
    container_name: airsonic
    network_mode: ${NET-bridge}
    environment:
      - PUID=${PUID-1000}
      - PGID=${PGID-1000}
      - TZ=${TZ-Europe/Amsterdam}
    volumes:
      - ${DOCKER_FOLDER}/airsonic/config:/config
      - ${HTPC_FOLDER}/airsonic/music:/music
      - ${DOCKER_FOLDER}/airsonic/playlists:/laylists
      - ${DOCKER_FOLDER}/airsonic/podcasts:/podcasts
      - ${HTPC_FOLDER}/airsonic/media:/media
    ports:
      - ${PORT-4040}:4040
    devices:
      - /dev/snd:/dev/snd
    restart: unless-stopped
    labels:
      - com.centurylinklabs.watchtower.enable=${AutoUpdate-true}

Environments:

NET=bridge
TAG=latest
PUID=1000
PGID=1000
PORT=4040
TZ=${TZ-Europe/Amsterdam}
AutoUpdate=true
DOCKER_FOLDER=
HTPC_FOLDER=