Files
sgeUpdated/sge-backend/src/main/resources/application-docker.properties
Ali Sadeghi 0610047aa9 Fix errors
2025-08-05 00:12:22 +03:30

35 lines
1.1 KiB
Properties

# Docker-specific configuration
spring.datasource.url=jdbc:postgresql://database:5432/sge
spring.datasource.username=sge
spring.datasource.password=147
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
server.port=8080
graphql.servlet.mapping=/api/v1/graphql
security.jwt.token.secret-key=secret
app.survey.base-url=http://localhost.com
# RabbitMQ Configuration for Docker
spring.rabbitmq.host=rabbitmq
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest
spring.rabbitmq.virtual-host=/
spring.rabbitmq.connection-timeout=20000
spring.rabbitmq.template.retry.enabled=true
spring.rabbitmq.template.retry.max-attempts=3
spring.rabbitmq.template.retry.initial-interval=1000ms
# Additional connection resilience
spring.rabbitmq.requested-heartbeat=30s
spring.rabbitmq.publisher-confirm-type=correlated
spring.rabbitmq.publisher-returns=true
logging.level.org.springframework.amqp=DEBUG