generated from shuntaka9576/python-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env_example
45 lines (45 loc) · 1.29 KB
/
.env_example
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
# MariaDB Config
DB_ROOT=sonolus
DB_USER=sonolus
DB_PASS=sonolus
DB_HOST=sonolus_fastapi_database
DB_NAME=sonolus
# Server Prefix for sonolus
SERVER_PREFIX=SweetPotato
# Firebase authentication
FIREBASE_CRED="INPUT_BASE64_CREDENTIAL"
# Firebase WebApiKey (used only for testing)
FIREBASE_API_KEY=""
# Docker compose ports
PORT_API=4000
PORT_DB=5000
PORT_ADMINER=6000
PORT_FIREBASE_EMULATOR=6001
PORT_MINIO=9000
PORT_MINIO_CONSOLE=9001
PORT_SUS=7000
PORT_IMAGE=7001
# Docker compose volumes
VOLUME_API_PATH='./api_data'
VOLUME_DB_PATH='./db_data'
VOLUME_MINIO_PATH='./minio_data'
# S3 File uploads
CDN_ENDPOINT="http://127.0.0.1:9000/sonolus/"
S3_ENDPOINT="http://minio:9000"
S3_BUCKET="sonolus"
S3_KEY="S3_KEY"
S3_SECRET="S3_SECRET"
S3_REGION=""
# Linked server services
# https://github.com/PurplePalette/sonolus-sus-server
SUS_SERVICE_ENDPOINT="http://sonolus_sus_service:3000"
# TODO: Add image conversion service
IMAGE_SERVICE_ENDPOINT="http://sonolus_image_service:8000"
# TODO: Add music conversion service
MUSIC_SERVICE_ENDPOINT="http://sonolus_music_service:3000"
# > Database seeder switch: load development seeds if set
# IS_DEV=1
# > Database migration switch: don't drop database at test if set
# IS_LOCAL=1
# > Firebase emulator switch: use auth emulator if set
# FIREBASE_AUTH_EMULATOR_HOST="localhost:9099"