fix: dockerfile, production env settings

This commit is contained in:
Justin Lin committed 2025-04-26 16:38:32 +08:00
1 parent 3985d5d089
commit 6fe49c4f38
7 files changed
+52 -58

No files matched your search

+11
View File
@@ -163,6 +163,17 @@ Run Cypress in container, create brand-new containers along with it:
## Deployment
Create production env
cp .env.prod.sample .env.prod
Edit `.env.prod`
BASE_URL=https://yourdomain.com # IMPORTANT to make login work
SECRET_KEY=xxxx # Change it to something safe!
Start the service
# Build the images (only allowed for maintainers)
docker compose -f docker-compose.prod.yml build
docker compose -f docker-compose.prod.yml push