release / go (push) Successful in 1m45s
release / web (push) Successful in 1m16s
release / govulncheck (push) Successful in 19s
release / android (push) Successful in 1m59s
release / integration (push) Successful in 2m49s
release / Build signed APK (push) Successful in 1m49s
release / Build + push container image (push) Successful in 1m22s
- Every image stage moves to Debian 13 (trixie): node:26-trixie-slim, golang:1.26-trixie, debian:trixie-slim. The govulncheck lane follows the builder. Most of the Security Dashboard's image findings are bookworm packages with no fix. - Dockerfile syntax 1.29. - Postgres 19 in the CI integration lane, the dev compose, the demo compose and the README quick start. The README says a major-version move needs a dump and restore. - Go modules: chi 5.5, gocron 2.23, migrate 4.20, pgx 5.13, testify 1.12, x/crypto 0.59, x/sync 0.25. go 1.26.0. Go itself stays on 1.26: ci-go:1.27 is not published yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
version: "3.9"
|
|
|
|
# Local development stack: `docker compose up --build`.
|
|
# The database tests use a separate minstrel_test database, so they never
|
|
# truncate your dev data. Run them with `make test-integration`.
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:19-alpine
|
|
environment:
|
|
POSTGRES_USER: minstrel
|
|
POSTGRES_PASSWORD: minstrel
|
|
POSTGRES_DB: minstrel
|
|
networks:
|
|
- minstrel
|
|
# ports:
|
|
# - "5432:5432"
|
|
volumes:
|
|
- minstrel-pgdata:/var/lib/postgresql/data
|
|
# Creates minstrel_test on a fresh volume. On an existing volume,
|
|
# make test-integration creates it instead.
|
|
- ./deploy/initdb:/docker-entrypoint-initdb.d:ro
|
|
|
|
minstrel:
|
|
build: .
|
|
# Minstrel waits for the database itself at startup, so it needs no
|
|
# healthcheck to gate on.
|
|
depends_on:
|
|
- postgres
|
|
environment:
|
|
MINSTREL_DATABASE_URL: postgres://minstrel:minstrel@postgres:5432/minstrel?sslmode=disable
|
|
MINSTREL_LOG_FORMAT: text
|
|
MINSTREL_LIBRARY_SCAN_PATHS: /music
|
|
MINSTREL_LIBRARY_SCAN_ON_STARTUP: "true"
|
|
MINSTREL_STORAGE_DATA_DIR: /app/data
|
|
networks:
|
|
- minstrel
|
|
ports:
|
|
- "4533:4533"
|
|
volumes:
|
|
# Your test library, read-only so a scanner bug can't change your files.
|
|
- /mnt/Media/Music:/music:ro
|
|
# Artwork and caches, kept across container recreates.
|
|
- minstrel-data:/app/data
|
|
|
|
volumes:
|
|
minstrel-pgdata:
|
|
minstrel-data:
|
|
|
|
networks:
|
|
minstrel: |