Build and push an image from the local checkout with configurable repository and tag; configure Compose to pull that image without an upstream build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
345 B
YAML
13 lines
345 B
YAML
services:
|
|
nodecast-tv:
|
|
image: ${NODECAST_IMAGE:-gitea.anthonybouteiller.ovh/blomios/nodecast-tv}:${NODECAST_TAG:-latest}
|
|
container_name: nodecast-tv
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
restart: unless-stopped
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3000 # Internal container port
|