The runner lives on the deployment server, so the deploy job runs docker compose locally with a temporary registry login. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 lines
578 B
YAML
18 lines
578 B
YAML
# Server deployment: runs the prebuilt image from the Gitea registry behind Nginx Proxy Manager.
|
|
# NPM terminates HTTPS and forwards to http://vending-machine-game:80 on the frontend_proxy network.
|
|
# IMAGE is the full registry reference, set by the CI deploy job.
|
|
services:
|
|
game:
|
|
image: ${IMAGE:?set IMAGE}
|
|
container_name: vending-machine-game
|
|
restart: unless-stopped
|
|
environment:
|
|
# Plain HTTP inside the network; no host ports are published.
|
|
SITE_ADDRESS: ":80"
|
|
networks:
|
|
- frontend_proxy
|
|
|
|
networks:
|
|
frontend_proxy:
|
|
external: true
|