Merge pull request 'fix: add FRONTEND_URL to environment variables and create .env.example file' (#24) from master into next
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m9s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m9s
Reviewed-on: #24
This commit was merged in pull request #24.
This commit is contained in:
1
.env.example
Normal file
1
.env.example
Normal file
@@ -0,0 +1 @@
|
|||||||
|
FRONTEND_URL=https://yourdomain.com
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
.env
|
||||||
backend/test_data/db/children.json
|
backend/test_data/db/children.json
|
||||||
backend/test_data/db/images.json
|
backend/test_data/db/images.json
|
||||||
backend/test_data/db/pending_rewards.json
|
backend/test_data/db/pending_rewards.json
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ services:
|
|||||||
- "5001:5000" # Host 5001 -> Container 5000
|
- "5001:5000" # Host 5001 -> Container 5000
|
||||||
environment:
|
environment:
|
||||||
- FLASK_ENV=production
|
- FLASK_ENV=production
|
||||||
|
- FRONTEND_URL=${FRONTEND_URL}
|
||||||
volumes:
|
volumes:
|
||||||
- chores-app-backend-data:/app/data # Assuming backend data storage; adjust path as needed
|
- chores-app-backend-data:/app/data # Assuming backend data storage; adjust path as needed
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user