Dima bfc58cd706 Update models | 1 year ago | |
---|---|---|
build | 1 year ago | |
cmd | 2 years ago | |
internal | 1 year ago | |
migrations | 2 years ago | |
web | 2 years ago | |
.gitignore | 1 year ago | |
.golangci.yml | 2 years ago | |
Makefile | 1 year ago | |
docker-compose.yml | 1 year ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
readme.md | 1 year ago |
config/.env
APP_PORT=8080
DB_HOST=localhost
DB_PORT=5432
DB_NAME=homethings
DB_USER=user
DB_PASSWORD=pass
DB_MAX_OPEN_CONNS=0
DB_MAX_IDLE_CONNS=5
DB_MAX_CONN_LIFETIME=0
DB_MAX_IDLE_CONN_LIFETIME=300
CORS_ALLOW_ORIGING=*
CORS_ALLOW_METHODS=GET,POST,PUT,DELETE
SMTP_HOST=smtp.example.com
SMTP_PORT=25
SMTP_USER=example@example.com
SMTP_PASSWORD=5cCd5m2
ERRORS_EMAIL=example@example.com
JWT_SECRET_KEY=test_secret
JWT_LIFETIME=21600
BASIC_AUTH_USER=user
BASIC_AUTH_PASSWORD=pass
STATIC_VERSION=1
GA_KEY=UA-1111111-1 (empty for disable)