From b1f345c7ba28c3191fefc392b020697d6fff3483 Mon Sep 17 00:00:00 2001 From: Sudip Bhattarai Date: Fri, 8 Nov 2024 16:41:03 +0545 Subject: [PATCH] Add .env.example --- .github/workflows/deploy.yml | 2 +- .gitignore | 2 +- deployment/.env.example | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 deployment/.env.example diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 068f27d..2b05e96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -68,7 +68,7 @@ jobs: echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' echo 'REGISTRY_BASE=registry.sireto.io/cardanoapi' echo 'STACK_NAME=ccva' - echo 'BASE_DOMAIN=ccv.cardanoapi.io' + echo 'DEPLOY_BASE_DOMAIN=ccv.cardanoapi.io' echo 'DATABASE_PASSWORD=postgres' echo 'CARDANO_NETWORK=preprod' } > .env diff --git a/.gitignore b/.gitignore index 68a380b..741a9fb 100644 --- a/.gitignore +++ b/.gitignore @@ -26,8 +26,8 @@ yarn-debug.log* yarn-error.log* # local env files +.env .env*.local -.env* # vercel .vercel diff --git a/deployment/.env.example b/deployment/.env.example new file mode 100644 index 0000000..b7b4c04 --- /dev/null +++ b/deployment/.env.example @@ -0,0 +1,6 @@ +REGISTRY_BASE=docker.io/ccva +STACK_NAME=ccva +DEPLOY_BASE_DOMAIN=ccv.cardanoapi.io +IMAGE_VERSION_TAG=v1 +CARDANO_NETWORK=preprod +GITHUB_TOKEN=XXXXX