add example env
This commit is contained in:
parent
df5fec15a9
commit
8ccf51f963
2
Makefile
2
Makefile
|
@ -15,6 +15,6 @@ generate:
|
||||||
test:
|
test:
|
||||||
go test ./internal/...
|
go test ./internal/...
|
||||||
docker_build:
|
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:
|
||||||
docker push registry.computernetthings.ru/recipes/app
|
docker push registry.computernetthings.ru/recipes/app
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue