mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
Update docker-compose to use GHCR image by default
This commit is contained in:
9
docker-compose.dev.yml
Normal file
9
docker-compose.dev.yml
Normal 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
|
||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user