diff --git a/layer-api/infra/aws/docker-compose.yaml b/layer-api/infra/aws/docker-compose.yaml index 913276ab..f59ffb9b 100644 --- a/layer-api/infra/aws/docker-compose.yaml +++ b/layer-api/infra/aws/docker-compose.yaml @@ -32,7 +32,7 @@ services: image: nginx:latest container_name: nginx depends_on: - - java-app + - batch-job ports: - "80:80" volumes: diff --git a/layer-api/src/main/resources/application-aws.yml b/layer-api/src/main/resources/application-aws.yml index a5986001..efbfec8e 100644 --- a/layer-api/src/main/resources/application-aws.yml +++ b/layer-api/src/main/resources/application-aws.yml @@ -1,6 +1,6 @@ spring: config: - import: application-secret.properties + import: optional:file:/config/application-secret.properties datasource: url: ${AWS_PROD_DB_URL} username: ${AWS_PROD_DB_NAME}