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.
This commit is contained in:
@@ -18,13 +18,13 @@ services:
|
|||||||
|
|
||||||
# === Infrahub ===
|
# === Infrahub ===
|
||||||
message-queue:
|
message-queue:
|
||||||
ports:
|
ports: !override
|
||||||
[]
|
[]
|
||||||
database:
|
database:
|
||||||
ports:
|
ports: !override
|
||||||
[]
|
[]
|
||||||
infrahub-server:
|
infrahub-server:
|
||||||
ports:
|
ports: !override
|
||||||
[]
|
[]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user