Commit ca9e70ad authored by Your Name's avatar Your Name

fix port volume

parent 1f618bb1
kong-postgres: kong-postgres:
COMPOSE_PROFILES=database KONG_DATABASE=postgres docker-compose-kong.yml up -d COMPOSE_PROFILES=database KONG_DATABASE=postgres docker compose -f docker-compose-kong.yml up -d
kong-dbless: kong-dbless:
docker-compose up -d docker compose up -d
clean: clean:
docker-compose kill docker compose kill
docker-compose rm -f docker compose rm -f
...@@ -85,9 +85,9 @@ services: ...@@ -85,9 +85,9 @@ services:
# - "${KONG_INBOUND_SSL_PROXY_LISTEN?Missing inbound proxy ssl host}:8443:8443/tcp" # - "${KONG_INBOUND_SSL_PROXY_LISTEN?Missing inbound proxy ssl host}:8443:8443/tcp"
# Alternative is deactivating check 5.13 in the security bench, if we consider Kong's own config to be enough security here # Alternative is deactivating check 5.13 in the security bench, if we consider Kong's own config to be enough security here
- "127.0.0.1:8001:8001/tcp" - "8001:8001/tcp"
- "127.0.0.1:8444:8444/tcp" - "8444:8444/tcp"
- "127.0.0.1:8002:8002/tcp" - "8002/tcp"
healthcheck: healthcheck:
test: [ "CMD", "kong", "health" ] test: [ "CMD", "kong", "health" ]
interval: 10s interval: 10s
...@@ -98,7 +98,7 @@ services: ...@@ -98,7 +98,7 @@ services:
volumes: volumes:
- kong_prefix_vol:${KONG_PREFIX:-/var/run/kong} - kong_prefix_vol:${KONG_PREFIX:-/var/run/kong}
- kong_tmp_vol:/tmp - kong_tmp_vol:/tmp
- ./config/kong/:/opt/kong - ./conf/kong:/opt/kong
security_opt: security_opt:
- no-new-privileges - no-new-privileges
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment