🔧 Update configuration files 🔧
All checks were successful
ampache / release-ampache (push) Successful in 21m48s

AI.md
CLAUDE.md
Dockerfile
.env.scripts
IDEA.md
README.md
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/09-mariadb.sh
rootfs/usr/local/etc/docker/init.d/99-ampache.sh
TODO.AI.md
This commit is contained in:
casjay
2026-05-18 15:38:13 -04:00
parent c07f970f14
commit eb715f59b7
17 changed files with 1711 additions and 1165 deletions

View File

@@ -1,6 +1,6 @@
## 👋 Welcome to ampache 🚀
ampache README
A self-contained Docker image for [Ampache](https://ampache.org/), the open-source web-based music streaming server. Bundles Apache 2, PHP 8.4 via PHP-FPM, MariaDB, and Ampache itself. First run opens the Ampache web installer at `http://localhost:80/`.
## Install my system scripts
@@ -54,6 +54,35 @@ services:
restart: always
```
## Environment variables
| Variable | Default | Description |
|----------|---------|-------------|
| `TZ` | `America/New_York` | Container timezone (sets PHP date.timezone) |
| `MARIADB_ROOT_USER_NAME` | `root` | MariaDB root username |
| `MARIADB_ROOT_PASS_WORD` | `random` | MariaDB root password (auto-generated if `random`) |
| `MARIADB_USER_NAME` | `ampache` | MariaDB application username |
| `MARIADB_USER_PASS_WORD` | `random` | MariaDB application password (auto-generated if `random`) |
| `DATABASE_CREATE` | `ampache` | MariaDB database name to create |
| `HOSTNAME` | `ampache` | Container hostname used in Apache vhost |
| `DEBUGGER` | _(unset)_ | Set to `on` to enable bash `set -x` debugging |
Passwords generated on first run are saved to `/config/secure/auth/`.
## Volumes
| Path | Purpose |
|------|---------|
| `/config` | All user-editable config files (Apache 2, PHP 8.4, MariaDB, Ampache) |
| `/data` | MariaDB data (`/data/db/mariadb`), logs (`/data/logs/`), and media library |
## Ports
| Port | Protocol | Description |
|------|----------|-------------|
| `80` | HTTP | Ampache web UI and API |
| `443` | HTTPS | Available when SSL is enabled via `/config/enable/ssl` |
## Get source files
```shell