airsonic-pulse/install/compose/docker-compose.postgres.yaml
litebito b7918b7899 chore: clean up contrib/, fix upstream refs, retire lgtm.yml
Remove stale contrib/ files superseded by current tooling:
- contrib/airsonic.service (superseded by install/systemd/)
- contrib/airsonic-systemd-env (superseded by installer override files)
- contrib/deploy.sh (Tomcat-based, not applicable to standalone WAR)
- contrib/release.md (manual process replaced by GitHub Actions)

Fix upstream references in install/:
- install/docker/Dockerfile: update LABEL url to litebito/airsonic-pulse
- install/compose/docker-compose.hsqldb.yaml: rename service/container,
  update image to ghcr.io/litebito/airsonic-pulse
- install/compose/docker-compose.postgres.yaml: update image reference

Fix upstream reference in .github/CONTRIBUTING.md (line 5)

Retire lgtm.yml: LGTM was shut down November 2022; CodeQL workflow
(any_codeql_scan.yml) is the current replacement.

Fix .github/workflows/any_trivy_scan missing .yml extension so GitHub
Actions recognises the workflow file.

Update contrib/i18n_fix_encoding.go: replace deprecated io/ioutil with
io.ReadAll and os.WriteFile (Go 1.16+).

Fix contrib/library_autoupdater.sh: correct misleading comment
("10 minutes") to match actual sleep duration (3600s = 60 minutes).
2026-04-26 14:05:53 +02:00

40 lines
No EOL
1 KiB
YAML

version: "3"
services:
postgres:
image: postgres
environment:
- POSTGRES_DB=airsonicdb
- POSTGRES_USER=airsonic
- POSTGRES_PASSWORD=passwd
volumes:
- ./data/postgres:/var/lib/postgresql/data
restart: on-failure
airsonic:
depends_on:
- postgres
image: ghcr.io/litebito/airsonic-pulse
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/airsonicdb?stringtype=unspecified
- SPRING_DATASOURCE_USERNAME=airsonic
- SPRING_DATASOURCE_PASSWORD=passwd
# - CONTEXT_PATH= #optional
# - JAVA_OPTS= #optional
volumes:
- ./data/airsonic:/var/airsonic
- ./data/music:/var/music
- ./data/playlists:/var/playlists
- ./data/podcasts:/var/podcasts
ports:
- 4040:4040 # HTTP
# - 1900:1900 # DLNA/UPnP
# devices:
# - /dev/snd:/dev/snd #optional
restart: on-failure