init
This commit is contained in:
32
app/.env.example
Normal file
32
app/.env.example
Normal file
@ -0,0 +1,32 @@
|
||||
# Server settings:
|
||||
GIN_MODE=debug
|
||||
APP_ENV=dev
|
||||
APP_VERSION=0.0.1
|
||||
HOST=http://127.0.0.1
|
||||
|
||||
|
||||
# Database settings:
|
||||
DB_HOST=qrcode-postgres
|
||||
DB_PORT=5432
|
||||
DB_NAME=qrcode
|
||||
DB_USER=admin
|
||||
DB_PASSWORD=admin
|
||||
DB_MIGRATIONS_TABLE=schema_migrations_qrcode
|
||||
POSTGRES_DB=qrcode
|
||||
POSTGRES_USER=admin
|
||||
POSTGRES_PASSWORD=admin
|
||||
|
||||
# JWT settings:
|
||||
JWT_SECRET=secret
|
||||
JWT_EXPIRE=24
|
||||
|
||||
CORS_ALLOW_ORIGINS=*
|
||||
|
||||
# S3
|
||||
S3_ENDPOINT=qrcode-minio:9000
|
||||
S3_ACCESS_KEY_ID=adminminio
|
||||
S3_SECRET_ACCESS_KEY=adminminio
|
||||
S3_USE_SSL=false
|
||||
S3_BUCKET=qrcode
|
||||
S3_REGION=eu-central-1
|
||||
S3_HOST=http://127.0.0.1:9000
|
||||
Reference in New Issue
Block a user