mirror of
https://github.com/casjaysdevdocker/ampache
synced 2025-01-18 12:34:28 -05:00
casjay
0ecef48a8e
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh
👋 Welcome to ampache 🚀
ampache README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update ampache
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/ampache/rootfs"
git clone "https://github.com/dockermgr/ampache" "$HOME/.local/share/CasjaysDev/dockermgr/ampache"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ampache/rootfs/." "$HOME/.local/share/srv/docker/ampache/rootfs/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-ampache \
--hostname ampache \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-ampache/rootfs/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-ampache/rootfs/config:/config:z" \
-p 80:80 \
casjaysdevdocker/ampache:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/ampache
container_name: casjaysdevdocker-ampache
environment:
- TZ=America/New_York
- HOSTNAME=ampache
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-ampache/rootfs/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-ampache/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/ampache
OR
git clone "https://github.com/casjaysdevdocker/ampache" "$HOME/Projects/github/casjaysdevdocker/ampache"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/ampache"
buildx
Authors
Description
Languages
Shell
71.7%
Dockerfile
28.3%