mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 01:01:30 +02:00
🚀 ci(picture): add picture app to CI/CD deployment pipeline
- Add picture-backend and picture-web to CI Docker build matrix - Add picture services to staging deployment workflow - Add picture-backend to production deployment workflow - Create Dockerfile and docker-entrypoint.sh for picture-web - Fix picture-backend Dockerfile port (3003→3006) and health endpoint - Add picture routes to Caddyfile.staging - Add REPLICATE_API_TOKEN and MANA_CORE_SERVICE_KEY env vars
This commit is contained in:
parent
74654e652a
commit
dcdc15f154
8 changed files with 285 additions and 2 deletions
3
.github/workflows/cd-production.yml
vendored
3
.github/workflows/cd-production.yml
vendored
|
|
@ -22,6 +22,7 @@ on:
|
|||
- manadeck-backend
|
||||
- nutriphi-backend
|
||||
- news-api
|
||||
- picture-backend
|
||||
environment:
|
||||
description: 'Deployment environment'
|
||||
required: true
|
||||
|
|
@ -269,7 +270,7 @@ jobs:
|
|||
|
||||
if [ "$SERVICE" == "all" ]; then
|
||||
# Rolling update for all services
|
||||
for service in mana-core-auth maerchenzauber-backend chat-backend manadeck-backend nutriphi-backend news-api; do
|
||||
for service in mana-core-auth maerchenzauber-backend chat-backend manadeck-backend nutriphi-backend news-api picture-backend; do
|
||||
echo "Deploying \$service..."
|
||||
docker compose up -d --no-deps --scale \$service=2 \$service
|
||||
sleep 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue