From c5e1daba9ddfcc902b0095124ec4bd4e0fd51d66 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Tue, 17 Oct 2023 16:56:49 +0100 Subject: [PATCH] build: dev and prod envs --- .env.example => .env.dev.example | 0 .env.prod.example | 10 ++++++++++ .github/workflows/test.yml | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) rename .env.example => .env.dev.example (100%) create mode 100644 .env.prod.example diff --git a/.env.example b/.env.dev.example similarity index 100% rename from .env.example rename to .env.dev.example diff --git a/.env.prod.example b/.env.prod.example new file mode 100644 index 0000000..c2a5185 --- /dev/null +++ b/.env.prod.example @@ -0,0 +1,10 @@ +MONGO_USERNAME=root +MONGO_PASSWORD=example_password +MONGO_DB=ecfmp_test +MONGO_HOST=mongodb +MONGO_PORT=27017 +AUTH_JWT_PUBLIC_KEY_FILE='./docker/dev_public_key.pub' +AUTH_JWT_PRIVATE_KEY_FILE='./docker/dev_private_key.pem' +AUTH_JWT_AUDIENCE='ecfmp-discord-dev' +LOG_LEVEL="FATAL" +DISCORD_BOT_TOKEN="abc" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48f2669..1897e0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: submodules: true - name: Copy env file - run: cp .env.example .env + run: cp .env.dev.example .env - name: Build Protobuf run: make protobuf