mirror of
https://github.com/aculix/ticket-monitoring.git
synced 2026-10-27 07:15:51 +00:00
GitHub Actions builds linux/amd64 and linux/arm64 on every push to main and pushes a single :latest tag to ghcr.io, so the container can be run without cloning or building. Tests gate the publish step.
14 lines
510 B
YAML
14 lines
510 B
YAML
services:
|
|
monitor:
|
|
# Pulls the prebuilt multi-arch image. Run `docker compose up --build` instead
|
|
# to build from this checkout; the result gets tagged with the same name.
|
|
image: ghcr.io/aculix/ticket-monitoring:latest
|
|
build: .
|
|
container_name: ticket-monitoring
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- "4733:4733" # status endpoint; drop this line to keep it private
|
|
volumes:
|
|
- ./data:/data # state survives restarts, so you aren't re-alerted
|