Update docker-compose to use GHCR image by default

This commit is contained in:
2026-01-30 11:46:56 -05:00
parent d600c5e456
commit 625a75f8f9
2 changed files with 21 additions and 4 deletions

9
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,9 @@
# Development override for docker-compose
# Usage: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build
services:
allstarr:
build:
context: .
dockerfile: Dockerfile
image: allstarr:local

View File

@@ -16,10 +16,18 @@ services:
- allstarr-network - allstarr-network
allstarr: allstarr:
build: # Use pre-built image from GitHub Container Registry
context: . # For latest stable: ghcr.io/sopat712/allstarr:latest
dockerfile: Dockerfile # For beta/testing: ghcr.io/sopat712/allstarr:beta
image: allstarr:local # To build locally instead, uncomment the build section below
image: ghcr.io/sopat712/allstarr:latest
# Uncomment to build locally instead of using GHCR image:
# build:
# context: .
# dockerfile: Dockerfile
# image: allstarr:local
container_name: allstarr container_name: allstarr
restart: unless-stopped restart: unless-stopped
ports: ports: