feat: add JWT_SECRET to deployment and create .env file for environment variables
Release Pipeline / build-and-release (push) Successful in 5m4s
Test / backend (push) Successful in 14s
Test / frontend (push) Successful in 23s

This commit is contained in:
LaurensBartelds committed 2026-04-27 01:02:17 +02:00
1 parent 99ac7a7fae
commit f794dacd2d
3 files changed
+16 -1

No files matched your search

+2 -1
View File
@@ -55,7 +55,8 @@ jobs:
run: |
ansible-playbook ansible/deploy.yml \
-i /tmp/inventory.ini \
-e "artifact_path=${WORKSPACE}"
-e "artifact_path=${WORKSPACE}" \
-e "jwt_secret=${{ secrets.JWT_SECRET }}"
- name: Cleanup
if: always()
+8
View File
@@ -63,6 +63,10 @@ jobs:
- "3001:3001"
volumes:
- brainwave-db:/app/backend/db
env_file:
- .env
environment:
- NODE_ENV=production
restart: unless-stopped
volumes:
brainwave-db:
@@ -77,6 +81,10 @@ jobs:
- "3001:3001"
volumes:
- brainwave-db:/app/backend/db
env_file:
- .env
environment:
- NODE_ENV=production
restart: unless-stopped
volumes:
brainwave-db: