forked from choras-org/CHORAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.api
More file actions
33 lines (25 loc) · 760 Bytes
/
Copy path.env.api
File metadata and controls
33 lines (25 loc) · 760 Bytes
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
# APP configuration
APP_NAME=Flask API Rest Template
APP_ENV=local
# Flask Configuration
API_ENTRYPOINT=app:create_app
APP_SETTINGS_MODULE=config.LocalConfig
APP_TEST_SETTINGS_MODULE=config.TestingConfig
CELERY_APP=app.celery
# API service configuration
API_HOST=localhost
API_PORT=5001
FLASK_RUN_HOST=localhost
FLASK_RUN_PORT=5001
# Database service configuration
DATABASE=postgres
BBDD_HOST=db_service
BBDD_PORT=5432
POSTGRES_DB=db_dev
POSTGRES_USER=db_user
POSTGRES_PASSWORD=db_password # Ensure this is set
# Secret key
SECRET_KEY=<your-secret-key>
JWT_SECRET_KEY=<your-jwt-secret-key>
DATABASE_TEST_URL=postgresql+psycopg2://db_user:db_password@db_service:5432/db_test
DATABASE_URL=postgresql+psycopg2://db_user:db_password@db_service:5432/db_dev