-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
113 lines (90 loc) · 2.83 KB
/
Copy path.env.example
File metadata and controls
113 lines (90 loc) · 2.83 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Copy this file to .env and fill in your values
# LifePill Microservices Environment Variables
# Complete configuration for Docker Compose deployment
# Server Configuration
SERVER_IP=your_server_ip_here
# Service Registry (Eureka) Configuration
EUREKA_PORT=8761
EUREKA_USERNAME=your_eureka_username_here
EUREKA_PASSWORD=your_eureka_password_here
EUREKA_SELF_PRESERVATION=true
# Config Server Configuration
CONFIG_SERVER_PORT=8888
CONFIG_SERVER_USERNAME=your_config_username_here
CONFIG_SERVER_PASSWORD=your_config_password_here
# API Gateway Configuration
API_GATEWAY_PORT=9191
# User Auth Service Configuration
USER_AUTH_PORT=8080
# Patient Customer Service Configuration
CUSTOMER_SERVICE_PORT=8070
# PostgreSQL Database Configuration
DB_USERNAME=your_db_username_here
DB_PASSWORD=your_db_password_here
POSTGRES_DB=your_postgres_db_name_here
DB_CONNECTION_TIMEOUT=30000
DB_MAX_POOL_SIZE=10
DB_MIN_IDLE=5
# MongoDB Configuration
MONGODB_URI=mongodb://mongodb:27017/lifepill_customer
MONGO_INITDB_DATABASE=lifepill_customer
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
# Stripe Configuration (Patient Customer Service)
STRIPE_SECRET_KEY=your_stripe_secret_key_here
# JWT Configuration
JWT_SECRET=your_jwt_secret_here
JWT_EXPIRATION=86400000
# Mail Configuration
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your_mail_username_here
MAIL_PASSWORD=your_mail_password_here
# CORS Configuration
CORS_ENABLED=true
CORS_ORIGINS=*
CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS,PATCH
CORS_HEADERS=*
CORS_MAX_AGE=86400
CORS_ALLOW_CREDENTIALS=false
# Distributed Tracing Configuration (Zipkin)
TRACING_ENABLED=true
TRACING_SAMPLING_PROBABILITY=1.0
ZIPKIN_ENDPOINT=http://zipkin:9411/api/v2/spans
# Prometheus Configuration
PROMETHEUS_PORT=9090
# Grafana Configuration
GRAFANA_PORT=3001
GRAFANA_USER=your_grafana_username_here
GRAFANA_PASSWORD=your_grafana_password_here
# Zipkin Configuration
ZIPKIN_PORT=9411
ZIPKIN_STORAGE_TYPE=mem
# Environment
ENVIRONMENT=production
LOG_LEVEL_ROOT=INFO
LOG_LEVEL_APP=DEBUG
# Actuator Configuration
ACTUATOR_ENDPOINTS=health,info,metrics,prometheus
ACTUATOR_HEALTH_DETAILS=when_authorized
# JPA Configuration
JPA_DDL_AUTO=update
JPA_SHOW_SQL=false
# Swagger Configuration
SWAGGER_ENABLED=true
SWAGGER_UI_ENABLED=true
# Swagger Server URLs (use SERVER_IP variable)
# Format: http://${SERVER_IP}:PORT
USER_AUTH_SERVICE_SWAGGER_URL=http://34.45.239.242:8080
CUSTOMER_SERVICE_SWAGGER_URL=http://34.45.239.242:8070
IDENTITY_SERVICE_SWAGGER_URL=http://34.45.239.242:8085
BRANCH_SERVICE_SWAGGER_URL=http://34.45.239.242:8081
INVENTORY_SERVICE_SWAGGER_URL=http://34.45.239.242:8082
ORDER_SERVICE_SWAGGER_URL=http://34.45.239.242:8083
# AWS S3 Configuration
AWS_ACCESS_KEY_ID=your_aws_access_key_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
AWS_REGION=us-east-1
AWS_S3_BUCKET=lifepill-images
AWS_S3_ENDPOINT=https://s3.amazonaws.com