Remove the `!override` custom YAML tag from the `ports` configuration for the `message-queue`, `database`, and `infrahub-server` services. This ensures compatibility with standard Docker Compose parsers while maintaining the behavior of disabling port mappings by providing an empty list.
31 lines
636 B
YAML
31 lines
636 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:
|
|
[]
|
|
database:
|
|
ports:
|
|
[]
|
|
infrahub-server:
|
|
ports:
|
|
[]
|
|
|
|
volumes:
|
|
tailscale-state: |