{"id":20456691,"url":"https://github.com/jgoerzen/docker-ampache","last_synced_at":"2026-05-05T01:35:11.289Z","repository":{"id":66276346,"uuid":"93960459","full_name":"jgoerzen/docker-ampache","owner":"jgoerzen","description":"[read-only mirror] Ampache music server for Docker","archived":false,"fork":false,"pushed_at":"2023-10-15T13:22:20.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-15T23:39:57.775Z","etag":null,"topics":["ampache","docker","docker-image","music"],"latest_commit_sha":null,"homepage":"https://salsa.debian.org/jgoerzen/docker-ampache","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgoerzen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-10T19:16:44.000Z","updated_at":"2022-02-08T02:28:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"636f0414-41c9-4abe-bedf-50713aa890f5","html_url":"https://github.com/jgoerzen/docker-ampache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgoerzen%2Fdocker-ampache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgoerzen%2Fdocker-ampache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgoerzen%2Fdocker-ampache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgoerzen%2Fdocker-ampache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgoerzen","download_url":"https://codeload.github.com/jgoerzen/docker-ampache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242008611,"owners_count":20056923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ampache","docker","docker-image","music"],"created_at":"2024-11-15T11:23:41.104Z","updated_at":"2026-05-05T01:35:06.264Z","avatar_url":"https://github.com/jgoerzen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ampache Music Server\n\n**NOTE: This repository is no longer hosted on Github;\nit has moved to its [new page on Salsa](https://salsa.debian.org/jgoerzen/docker-ampache).**\n\nThis is a set of images that make it simple to serve up your\nmusic collection with [Ampache](http://www.ampache.org).  They run on top\nof my [Debian base system](http://salsa.debian.org/jgoerzen/docker-debian-base),\nwhich provides excellent logging capabilities.\n\nThe [ampache image collection](https://salsa.debian.org/jgoerzen/docker-ampache)\nprovides these images:\n\n - [jgoerzen/ampache](https://salsa.debian.org/jgoerzen/docker-ampache-base),\n   the main server, designed to be used with an outside MySQL/MariaDB server\n - [jgoerzen/ampache-mysql](https://salsa.debian.org/jgoerzen/docker-ampache-mysql),\n   everything in `jgoerzen/ampache` plus an embedded MariaDB server in\n   the image for very easy setup.\n   \nThis image provides the Ampache server, with full support for transcoding\non the fly.\n\nYou can download with:\n\n    docker pull jgoerzen/ampache-mysql\n\nAnd run with something like this:\n\n    docker run -td -p 8080:80 -p 80443:443 \\\n    --stop-signal=SIGRTMIN+3 \\ \n    --tmpfs /run:size=100M --tmpfs /run/lock:size=100M \\\n    -v /sys/fs/cgroup:/sys/fs/cgroup:rw --cgroupns=host \\\n    -v /musicdir:/music:ro \\\n    -v /playlistdir:/playlists:rw \\\n    --name=ampache jgoerzen/ampache-mysql\n\nOr with an older systemd on the host:\n\n    docker run -td -p 8080:80 -p 80443:443 \\\n    --stop-signal=SIGRTMIN+3 \\ \n    --tmpfs /run:size=100M --tmpfs /run/lock:size=100M \\\n    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \\\n    -v /musicdir:/music:ro \\\n    -v /playlistdir:/playlists:rw \\\n    --name=ampache jgoerzen/ampache-mysql\n\n(Omit the `-mysql` from both commands if you have a MySQL server elsewhere that you\nwill connect to.)\n\nThis will expose your music stored at `/musicdir` on the host in read-only mode, and your playlists\nstored at `/playlistdir` in read-write mode, to the container.  You will probably also\nwant to add a `-v` in some fashion covering `/var/www/html/ampache/config`, since that you will want\nto preserve those files as well.  If using the built-in MySQL, you'll also want to preserve\n`/var/lib/mysql`.\n\n# Setup\n\nNow, point a browser at http://localhost:8080/ampache and follow the\non-screen steps, using the [Ampache install docs](https://github.com/ampache/ampache/wiki/Installation)\nas a guide.\n\nIf you are using the built-in MySQL/MariaDB server, use these values:\n\n - Database name: ampache\n - MySQL hostname: localhost\n - MySQL port: blank\n - MySQL (administrative) username: ampache\n - MySQL (administrative) password: ampache\n - Create database: uncheck\n\nOther suggestions:\n\n - Template configuration: ffmpeg\n\nOnce configured, add a catalog pointing to `/music` at \u003chttp://localhost:8080/ampache/index.php#admin/catalog.php?action=show_add_catalog\u003e, and another for `/playlists`.\n\n# Ports\n\nBy default, this image exposes a HTTP server on port 80, HTTPS on port 443, and\nalso exposes port 81 in case you wish to use it separately for certbot or another\nLetsencrypt validation system.  HTTPS will require additional configuration.\n\nAmpache is exposed at path `/ampache` on the configured system. \n\n# Source\n\nThis is prepared by John Goerzen \u003cjgoerzen@complete.org\u003e and the source\ncan be found at https://salsa.debian.org/jgoerzen/docker-ampache\n\n# Security Status\n\nThe Debian operating system is configured to automatically apply security patches.\nAmpache, however, does not have such a feature, nor do most of the third-party\nPHP modules it integrates.\n\nThere is some security risk in making the installation directory writable by\nthe web server process.  This is restricted as much as possible in this image.\nA side-effect of that, however, is the disabling of the Ampache auto-update\nfeature.  If you wish to be able to use Ampache's built-in updates, you\nshould `chown -R www-data:www-data /var/www/html/ampache`.\n\n# Tags\n\nThese Docker tags are defined:\n\n - latest is built against the Ampache master branch (which they recommend)\n - Other branches use the versioned tarballs\n\n# Copyright\n\nDocker scripts, etc. are\nCopyright (c) 2017-2023 John Goerzen\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\n   notice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\n   notice, this list of conditions and the following disclaimer in the\n   documentation and/or other materials provided with the distribution.\n3. Neither the name of the University nor the names of its contributors\n   may be used to endorse or promote products derived from this software\n   without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nAdditional software copyrights as noted.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgoerzen%2Fdocker-ampache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgoerzen%2Fdocker-ampache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgoerzen%2Fdocker-ampache/lists"}