Skip to content

Commit 901f6fa

Browse files
committed
Add example environment configuration file
1 parent 6081c52 commit 901f6fa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.env.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Database
2+
DATABASE_URL='mysql+aiomysql://username:password@mysql/construction_hazard_detection'
3+
4+
# API Credentials
5+
API_USERNAME='user'
6+
API_PASSWORD='password'
7+
8+
# API URLs
9+
DETECT_API_URL = "http://127.0.0.1:8000"
10+
FCM_API_URL = "http://127.0.0.1:8003"
11+
VIOLATION_RECORD_API_URL = "http://127.0.0.1:8002"
12+
STREAMING_API_URL = "http://127.0.0.1:8800"
13+
DB_MANAGEMENT_API_URL = "http://127.0.0.1:8005"
14+
15+
# Redis
16+
REDIS_HOST = '127.0.0.1'
17+
REDIS_PORT = 6379
18+
REDIS_PASSWORD = 'password'
19+
20+
# Firebase
21+
FIREBASE_CRED_PATH = 'examples/local_notification_server/your-firebase-adminsdk.json'
22+
project_id = 'your-project-id'

0 commit comments

Comments
 (0)