Skip to content
Snippets Groups Projects
Commit 9ab8a9d2 authored by migudel's avatar migudel :speech_balloon:
Browse files

Corrección sobre puertos y fallos en el compose

parent 1f39143c
Branches
Tags
2 merge requests!36Develop,!33Fix/kong review
This commit is part of merge request !33. Comments created here will be created in the context of that merge request.
...@@ -15,7 +15,7 @@ services: ...@@ -15,7 +15,7 @@ services:
# Postgres: The database used by Kong # Postgres: The database used by Kong
kong-database: kong-database:
image: postgres:9.6 image: postgres:9.6
container_DATABASE: kong-postgres container_name: kong-postgres
restart: on-failure restart: on-failure
networks: networks:
- kong-net - kong-net
...@@ -108,7 +108,7 @@ services: ...@@ -108,7 +108,7 @@ services:
kong-database: kong-database:
condition: service_healthy condition: service_healthy
ports: ports:
- 1337:133 - 1337:1337
####################################### #######################################
# APIs # APIs
...@@ -124,10 +124,10 @@ services: ...@@ -124,10 +124,10 @@ services:
networks: networks:
- kong-net - kong-net
environment: environment:
# TODO Meter kid y secret key SECURITY_JWT_EXPIRATION: 3600000
KID: ${JWT_KID} SECURITY_JWT_KID: ${JWT_KID:-9L8RmLEKMFd54WrR06CE9zoRSAGpCWeu}
SECRET_KEY: ${JWT_KID} SECURITY_JWT_SECRET_KEY: ${JWT_KEY:-MiClaveDeSeguridadMuyLargaParaQueNoFalleSpringBoot}
EXTERNAL_SERVICE_USERS_URL: ${API_USERS_URL}${API_USERS_ENDPOINT} EXTERNAL_SERVICES_USERS_URL: ${API_USERS_URL}
depends_on: depends_on:
- Users-API - Users-API
...@@ -135,7 +135,7 @@ services: ...@@ -135,7 +135,7 @@ services:
image: users-api-image image: users-api-image
hostname: ${API_USERS_HOSTNAME} hostname: ${API_USERS_HOSTNAME}
build: build:
context: ./java/services/user context: ./java/services/users
dockerfile: Dockerfile dockerfile: Dockerfile
restart: unless-stopped restart: unless-stopped
networks: networks:
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment