diff --git a/backend/src/main/resources/application-devDiveni.properties b/backend/src/main/resources/application-devDiveni.properties new file mode 100644 index 00000000..0981046a --- /dev/null +++ b/backend/src/main/resources/application-devDiveni.properties @@ -0,0 +1,6 @@ +spring.data.mongodb.uri=mongodb://diveni_database:27017 +spring.data.mongodb.database=diveni +server.port=9090 +server.forward-headers-strategy=framework +springdoc.swagger-ui.disable-swagger-default-url=true +python_ai_url=http://dev_diveni_ai:8000 diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 1299a9d4..9525d6d1 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -31,7 +31,7 @@ services: container_name: diveni_backend restart: unless-stopped environment: - - "SPRING_PROFILES_ACTIVE=prod" + - "SPRING_PROFILES_ACTIVE=devDiveni" env_file: - ./backend/.env healthcheck: