diff --git a/docker-compose.yml b/docker-compose.yml index 94a5cea..da26763 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,9 +19,11 @@ services: # - ../kong-notification-plugin/kong/plugins/notification:/usr/local/share/lua/5.1/kong/plugins/notification:ro links: - kong-postgres + restart: on-failure environment: - KONG_DATABASE=postgres - KONG_PG_HOST=kong-postgres + - KONG_PG_PASSWORD=password # - KONG_CUSTOM_PLUGINS=notification command: kong migrations up @@ -47,6 +49,7 @@ services: environment: - KONG_DATABASE=postgres - KONG_PG_HOST=kong-postgres + - KONG_PG_PASSWORD=password - KONG_LOG_LEVEL=debug - KONG_PROXY_ACCESS_LOG=/dev/stdout - KONG_ADMIN_ACCESS_LOG=/dev/stdout @@ -54,6 +57,7 @@ services: - KONG_ADMIN_ERROR_LOG=/dev/stderr - KONG_ADMIN_LISTEN=0.0.0.0:8001 # - KONG_CUSTOM_PLUGINS=notification + restart: on-failure links: - movies - bookings @@ -73,6 +77,7 @@ services: environment: - POSTGRES_DB=kong - POSTGRES_USER=kong + - POSTGRES_PASSWORD=password ports: - "5433:5432"