diff --git a/.env.example b/.env.example index 0277e2b..06d51fd 100644 --- a/.env.example +++ b/.env.example @@ -3,8 +3,7 @@ # Anything left out uses the default shown here. # ---- container ---- -# Image tag to build/run and the container's name. -PLAYLINK_IMAGE=playlink:latest +# The container's name. (The image is built from this repository.) PLAYLINK_CONTAINER_NAME=playlink # Version label shown in the UI footer. PLAYLINK_VERSION=dev diff --git a/docker-compose.yml b/docker-compose.yml index ad5f4ff..2a8f632 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,10 @@ services: context: . args: VERSION: ${PLAYLINK_VERSION:-dev} - image: ${PLAYLINK_IMAGE:-playlink:latest} + # No image: line on purpose. The image is always built from this + # repository, never pulled (it isn't published to a registry), so + # deploy tools like Arcane don't try to pull a name that doesn't exist. + pull_policy: build container_name: ${PLAYLINK_CONTAINER_NAME:-playlink} # Run as the user that owns your music (Unraid: nobody:users = 99:100). user: "${PUID:-99}:${PGID:-100}"