Files
infrahub-deployment/docker-compose.override.yml
Damien 1d393a1341 chore(docker): explicitly override ports to prevent merging
Update `docker-compose.override.yml` to use the `!override` tag on the `ports` configuration for `message-queue`, `database`, and `infrahub-server`.

This change ensures that Docker Compose replaces the ports list rather than merging it with the base configuration, strictly preventing these services from exposing ports.
2026-02-05 11:36:39 +01:00

31 lines
666 B
YAML

services:
# === TAILSCALE ===
tailscale:
image: tailscale/tailscale:latest
container_name: infrahub-tailscale
hostname: infrahub
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/serve-config.json
volumes:
- tailscale-state:/var/lib/tailscale
- ./serve-config.json:/config/serve-config.json:ro
cap_add:
- NET_ADMIN
- SYS_MODULE
restart: unless-stopped
# === Infrahub ===
message-queue:
ports: !override
[]
database:
ports: !override
[]
infrahub-server:
ports: !override
[]
volumes:
tailscale-state: