-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.prod
51 lines (42 loc) · 1.42 KB
/
.env.prod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# PostgreSQL Configuration
POSTGRES_USER=prod_user
POSTGRES_PASSWORD=Pr0duct!onP@ss2024
POSTGRES_DB=orders_prod_db
POSTGRES_PORT=5432
POSTGRES_EXTERNAL_PORT=5433
# MongoDB Configuration
MONGO_USERNAME=prod_user
MONGO_PASSWORD=Pr0duct!onP@ss2024
MONGO_PORT=27017
MONGO_EXTERNAL_PORT=27017
# RabbitMQ Configuration
RABBITMQ_QUEUE_LOGGING_REQUEST=logging.request
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5672
RABBITMQ_USERNAME=order_user
RABBITMQ_PASSWORD=orderUs3r!
# Logging Service Configuration
LOGGING_SERVICE_PORT=8081
LOGGING_APP_NAME=logging
LOGGING_MONGODB_AUTH_DB=admin
SPRING_DATA_MONGODB_HOST=mongo
SPRING_DATA_MONGODB_AUTO_INDEX_CREATION=true
MONGOCK_MIGRATION_SCAN_PACKAGE=com.example.logging.migrations
MONGOCK_ENABLED=true
MONGOCK_RUNNER_TYPE=initializingbean
# Order Service Configuration
SPRING_APPLICATION_NAME=orders
ORDER_SERVICE_PORT=8080
SPRING_PROFILE=prod
JWT_SECRET=pr0duct!0n-s3cr3t-k3y-2024
JWT_ISSUER=orders-management-system
JWT_EXPIRATION=3600000
TASK_SCHEDULE_CRON=0 */2 * * * *
SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/orders_prod_db
SPRING_JPA_DATABASE_PLATFORM=org.hibernate.dialect.PostgreSQLDialect
SPRING_JPA_HIBERNATE_DDL_AUTO=none
SPRING_LIQUIBASE_ENABLED=true
SPRING_LIQUIBASE_CHANGE_LOG=classpath:/db.changelog/db.changelog-prod.xml
APP_FEIGN_NAMES_LOGGING_SERVICE_NAME=logging
APP_FEIGN_NAMES_LOGGING_SERVICE_URL=http://logging-service:8081