delpoyment with fully dockerized project on wixur.ir, dyolink docker hub created beside backend and frontend image is uploaded.
This commit is contained in:
2
infrastructure/scripts/build-and-push.sh
Normal file → Executable file
2
infrastructure/scripts/build-and-push.sh
Normal file → Executable file
@@ -85,6 +85,8 @@ echo "JWT_SECRET=CHANGE_ME_32_CHARS_MINIMUM" >> $DEPLOY_DIR/backend.env.example
|
||||
echo "DATABASE_URL=postgresql://\${POSTGRES_USER}:\${POSTGRES_PASSWORD}@postgres:5432/\${POSTGRES_DB}" >> $DEPLOY_DIR/backend.env.example
|
||||
echo "CORS_ORIGIN=https://dyolink.com" >> $DEPLOY_DIR/backend.env.example
|
||||
echo "FRONTEND_URL=https://dyolink.com" >> $DEPLOY_DIR/backend.env.example
|
||||
echo "SMS_IR_API_KEY=CHANGE_ME_SMS_IR_API_KEY" >> $DEPLOY_DIR/backend.env.example
|
||||
echo "SMS_IR_TEMPLATE_ID=123456" >> $DEPLOY_DIR/backend.env.example
|
||||
|
||||
echo "# Frontend" > $DEPLOY_DIR/frontend.env.example
|
||||
echo "NEXT_PUBLIC_API_URL=/api" >> $DEPLOY_DIR/frontend.env.example
|
||||
|
||||
Reference in New Issue
Block a user