From 474b664d536e9bbe421dbd82a01557cc3f75b1cb Mon Sep 17 00:00:00 2001 From: apozdniakov Date: Sun, 7 Jul 2024 18:53:28 +0200 Subject: [PATCH] w3 dev config --- .gitignore | 5 ++++- docker-compose.yml | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 32760ee..defc1df 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,7 @@ out/ **/.env .env*.production .env.production -*.env* \ No newline at end of file +*.env* + +# Dev configuration +.dev-conf \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 586da86..e79207c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,11 @@ services: # args: # REPOSITORY_TOKEN: ${REPOSITORY_TOKEN} environment: - SPRING_PROFILES_ACTIVE: "dev" + SPRING_PROFILES_ACTIVE: "dev,w3" JASYPT_ENCRYPTOR_PASSWORD: ${JASYPT_ENCRYPTOR_PASSWORD} SPRING_DATA_REDIS_PASSWORD: secret + volumes: + - ./.dev-conf:/config depends_on: - redis @@ -41,5 +43,7 @@ services: - redis-data:/data volumes: + config: + driver: local redis-data: driver: local