add example env

This commit is contained in:
yyasha 2024-01-31 10:46:07 +03:00
parent df5fec15a9
commit 8ccf51f963
2 changed files with 13 additions and 2 deletions

View File

@ -15,6 +15,6 @@ generate:
test:
go test ./internal/...
docker_build:
docker build -t registry.computernetthings.ru/recipes/app .
docker build -t registry.computernetthings.ru/recipes/app . && docker image prune -f
docker_push:
docker push registry.computernetthings.ru/recipes/app

11
env.example Normal file
View File

@ -0,0 +1,11 @@
API_HOST=recipesapi.computernetthings.ru
FRONTEND_HOST=recipes.computernetthings.ru
# database
DB_NAME=pguser
DB_USER=pguser
DB_PASSWORD=password
# object storage
MINIO_ROOT_USER=user
MINIO_ROOT_PASSWORD=password
# cache
RDB_PASSWORD=password