From 1d043702ef136e8f2e516c5304a57be5718f1f6f Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Thu, 9 Jul 2026 21:49:56 -0700 Subject: Initial commit: docker compose files for all self-hosted services 12 services: adguard, ampache, azuracast, flood, glance, glances, grafana, immich, invidious, jellyfin, openwebui, watchtower Each service includes a docker-compose.yml, README.md with setup instructions, and .env.example where applicable. --- ampache/.env.example | 15 +++++++++++++++ ampache/README.md | 24 ++++++++++++++++++++++++ ampache/docker-compose.yml | 29 +++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 ampache/.env.example create mode 100644 ampache/README.md create mode 100644 ampache/docker-compose.yml (limited to 'ampache') diff --git a/ampache/.env.example b/ampache/.env.example new file mode 100644 index 0000000..375ffc7 --- /dev/null +++ b/ampache/.env.example @@ -0,0 +1,15 @@ +# Amplitude configuration +MYSQL_USER=admin +MYSQL_PASS=your_mysql_password_here +# DISABLE_INOTIFYWAIT_CLEAN=0 +# DB_NAME= +# DB_USER= +# DB_PASSWORD= +# DB_HOST= +# DB_PORT=3306 +# FORCE_INSTALL=0 +# AMPACHE_DB_USER= +# AMPACHE_DB_PASSWORD= +# AMPACHE_ADMIN_USER=admin +# AMPACHE_ADMIN_PASSWORD=**Random** +# AMPACHE_ADMIN_EMAIL= diff --git a/ampache/README.md b/ampache/README.md new file mode 100644 index 0000000..503eefc --- /dev/null +++ b/ampache/README.md @@ -0,0 +1,24 @@ +# Ampache + +Self-hosted music streaming server. + +## Setup + +1. Copy `.env.example` to `.env` and fill in your credentials: + ``` + cp .env.example .env + ``` + +2. Start: + ``` + docker compose up -d + ``` + +## Access + +- Web UI: `http://:7676` + +## What to Configure + +- **`.env`** — Set `MYSQL_USER` and `MYSQL_PASS` before first start. Other variables can be set after the initial setup. +- **Media volume** — The line `- /srv/mus:/media` mounts your music library. Change `/srv/mus` to wherever your music is stored. diff --git a/ampache/docker-compose.yml b/ampache/docker-compose.yml new file mode 100644 index 0000000..b7d398f --- /dev/null +++ b/ampache/docker-compose.yml @@ -0,0 +1,29 @@ +name: ampache + +services: + ampache: + image: ampache/ampache:latest + container_name: ampache + restart: unless-stopped + ports: + - 7676:80 + volumes: + - ./data/config:/var/www/config + - ./data/log:/var/log/ampache + - /srv/mus:/media + - ./data/mysql:/var/lib/mysql + environment: + MYSQL_USER: ${MYSQL_USER-admin} + MYSQL_PASS: ${MYSQL_PASS-**Random**} + DB_NAME: ${DB_NAME-} + DB_HOST: ${DB_HOST-} + DB_USER: ${DB_USER-} + DB_PASSWORD: ${DB_PASSWORD-} + DB_PORT: ${DB_PORT-} + DISABLE_INOTIFYWAIT_CLEAN: ${DISABLE_INOTIFYWAIT_CLEAN-0} + FORCE_INSTALL: ${FORCE_INSTALL-0} + AMPACHE_DB_USER: ${AMPACHE_DB_USER-} + AMPACHE_DB_PASSWORD: ${AMPACHE_DB_PASSWORD-} + AMPACHE_ADMIN_USER: ${AMPACHE_ADMIN_USER-} + AMPACHE_ADMIN_PASSWORD: ${AMPACHE_ADMIN_PASSWORD-} + AMPACHE_ADMIN_EMAIL: ${AMPACHE_ADMIN_EMAIL-} -- cgit v1.3-2-g0d8e