From 8ccf51f963c90a6b08988ddfb5842e35a543c697 Mon Sep 17 00:00:00 2001 From: yyasha Date: Wed, 31 Jan 2024 10:46:07 +0300 Subject: [PATCH] add example env --- Makefile | 4 ++-- env.example | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 env.example diff --git a/Makefile b/Makefile index befe701..4207a9c 100644 --- a/Makefile +++ b/Makefile @@ -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 + docker push registry.computernetthings.ru/recipes/app diff --git a/env.example b/env.example new file mode 100644 index 0000000..107271f --- /dev/null +++ b/env.example @@ -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