mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
chore: rename mukke to music in infra, scripts, and CI/CD
Update remaining mukke references in root package.json scripts, docker-compose files, Grafana dashboards, Prometheus config, CD pipeline, cloudflared config, deploy scripts, load tests, and mana-auth user-data service. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7afc1620aa
commit
47d893794e
14 changed files with 47 additions and 47 deletions
24
.github/workflows/cd-macmini.yml
vendored
24
.github/workflows/cd-macmini.yml
vendored
|
|
@ -43,8 +43,8 @@ on:
|
||||||
- clock-web
|
- clock-web
|
||||||
- contacts-backend
|
- contacts-backend
|
||||||
- contacts-web
|
- contacts-web
|
||||||
- mukke-backend
|
- music-backend
|
||||||
- mukke-web
|
- music-web
|
||||||
- storage-backend
|
- storage-backend
|
||||||
- storage-web
|
- storage-web
|
||||||
- memoro-server
|
- memoro-server
|
||||||
|
|
@ -91,8 +91,8 @@ jobs:
|
||||||
clock-web: ${{ steps.changes.outputs.clock-web }}
|
clock-web: ${{ steps.changes.outputs.clock-web }}
|
||||||
contacts-backend: ${{ steps.changes.outputs.contacts-backend }}
|
contacts-backend: ${{ steps.changes.outputs.contacts-backend }}
|
||||||
contacts-web: ${{ steps.changes.outputs.contacts-web }}
|
contacts-web: ${{ steps.changes.outputs.contacts-web }}
|
||||||
mukke-backend: ${{ steps.changes.outputs.mukke-backend }}
|
music-backend: ${{ steps.changes.outputs.music-backend }}
|
||||||
mukke-web: ${{ steps.changes.outputs.mukke-web }}
|
music-web: ${{ steps.changes.outputs.music-web }}
|
||||||
storage-backend: ${{ steps.changes.outputs.storage-backend }}
|
storage-backend: ${{ steps.changes.outputs.storage-backend }}
|
||||||
storage-web: ${{ steps.changes.outputs.storage-web }}
|
storage-web: ${{ steps.changes.outputs.storage-web }}
|
||||||
memoro-server: ${{ steps.changes.outputs.memoro-server }}
|
memoro-server: ${{ steps.changes.outputs.memoro-server }}
|
||||||
|
|
@ -158,8 +158,8 @@ jobs:
|
||||||
check_changes "clock-web" "apps/clock/apps/web/" "apps/clock/packages/"
|
check_changes "clock-web" "apps/clock/apps/web/" "apps/clock/packages/"
|
||||||
check_changes "contacts-backend" "apps/contacts/apps/backend/" "apps/contacts/packages/"
|
check_changes "contacts-backend" "apps/contacts/apps/backend/" "apps/contacts/packages/"
|
||||||
check_changes "contacts-web" "apps/contacts/apps/web/" "apps/contacts/packages/"
|
check_changes "contacts-web" "apps/contacts/apps/web/" "apps/contacts/packages/"
|
||||||
check_changes "mukke-backend" "apps/mukke/apps/backend/" "apps/mukke/packages/"
|
check_changes "music-backend" "apps/mukke/apps/backend/" "apps/mukke/packages/"
|
||||||
check_changes "mukke-web" "apps/mukke/apps/web/" "apps/mukke/packages/"
|
check_changes "music-web" "apps/mukke/apps/web/" "apps/mukke/packages/"
|
||||||
check_changes "storage-backend" "apps/storage/apps/backend/" "apps/storage/packages/"
|
check_changes "storage-backend" "apps/storage/apps/backend/" "apps/storage/packages/"
|
||||||
check_changes "storage-web" "apps/storage/apps/web/" "apps/storage/packages/"
|
check_changes "storage-web" "apps/storage/apps/web/" "apps/storage/packages/"
|
||||||
check_changes "memoro-server" "apps/memoro/apps/server/" "apps/memoro/packages/"
|
check_changes "memoro-server" "apps/memoro/apps/server/" "apps/memoro/packages/"
|
||||||
|
|
@ -170,7 +170,7 @@ jobs:
|
||||||
|
|
||||||
# Check if anything needs deploying
|
# Check if anything needs deploying
|
||||||
ANY="false"
|
ANY="false"
|
||||||
for svc in matrix-web mana-auth mana-sync mana-media mana-notify mana-api-gateway mana-crawler mana-credits mana-search chat-backend chat-web todo-backend todo-web calendar-backend calendar-web clock-web contacts-backend contacts-web mukke-backend mukke-web storage-backend storage-web memoro-server memoro-audio-server memoro-web mana-matrix-bot mana-landing-builder; do
|
for svc in matrix-web mana-auth mana-sync mana-media mana-notify mana-api-gateway mana-crawler mana-credits mana-search chat-backend chat-web todo-backend todo-web calendar-backend calendar-web clock-web contacts-backend contacts-web music-backend music-web storage-backend storage-web memoro-server memoro-audio-server memoro-web mana-matrix-bot mana-landing-builder; do
|
||||||
val=$(grep "^$svc=" $GITHUB_OUTPUT | tail -1 | cut -d= -f2)
|
val=$(grep "^$svc=" $GITHUB_OUTPUT | tail -1 | cut -d= -f2)
|
||||||
if [ "$val" == "true" ]; then
|
if [ "$val" == "true" ]; then
|
||||||
ANY="true"
|
ANY="true"
|
||||||
|
|
@ -250,8 +250,8 @@ jobs:
|
||||||
if [ "${{ needs.detect-changes.outputs.clock-web }}" == "true" ]; then SERVICES="$SERVICES clock-web"; fi
|
if [ "${{ needs.detect-changes.outputs.clock-web }}" == "true" ]; then SERVICES="$SERVICES clock-web"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.contacts-backend }}" == "true" ]; then SERVICES="$SERVICES contacts-backend"; fi
|
if [ "${{ needs.detect-changes.outputs.contacts-backend }}" == "true" ]; then SERVICES="$SERVICES contacts-backend"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.contacts-web }}" == "true" ]; then SERVICES="$SERVICES contacts-web"; fi
|
if [ "${{ needs.detect-changes.outputs.contacts-web }}" == "true" ]; then SERVICES="$SERVICES contacts-web"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.mukke-backend }}" == "true" ]; then SERVICES="$SERVICES mukke-backend"; fi
|
if [ "${{ needs.detect-changes.outputs.music-backend }}" == "true" ]; then SERVICES="$SERVICES music-backend"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.mukke-web }}" == "true" ]; then SERVICES="$SERVICES mukke-web"; fi
|
if [ "${{ needs.detect-changes.outputs.music-web }}" == "true" ]; then SERVICES="$SERVICES music-web"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.storage-backend }}" == "true" ]; then SERVICES="$SERVICES storage-backend"; fi
|
if [ "${{ needs.detect-changes.outputs.storage-backend }}" == "true" ]; then SERVICES="$SERVICES storage-backend"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.storage-web }}" == "true" ]; then SERVICES="$SERVICES storage-web"; fi
|
if [ "${{ needs.detect-changes.outputs.storage-web }}" == "true" ]; then SERVICES="$SERVICES storage-web"; fi
|
||||||
if [ "${{ needs.detect-changes.outputs.memoro-server }}" == "true" ]; then SERVICES="$SERVICES memoro-server"; fi
|
if [ "${{ needs.detect-changes.outputs.memoro-server }}" == "true" ]; then SERVICES="$SERVICES memoro-server"; fi
|
||||||
|
|
@ -355,8 +355,8 @@ jobs:
|
||||||
clock-web) echo "http://localhost:5013/health" ;;
|
clock-web) echo "http://localhost:5013/health" ;;
|
||||||
contacts-backend) echo "http://localhost:3034/health" ;;
|
contacts-backend) echo "http://localhost:3034/health" ;;
|
||||||
contacts-web) echo "http://localhost:5014/health" ;;
|
contacts-web) echo "http://localhost:5014/health" ;;
|
||||||
mukke-backend) echo "http://localhost:3010/health" ;;
|
music-backend) echo "http://localhost:3010/health" ;;
|
||||||
mukke-web) echo "http://localhost:5180/health" ;;
|
music-web) echo "http://localhost:5180/health" ;;
|
||||||
storage-backend) echo "http://localhost:3035/api/v1/health" ;;
|
storage-backend) echo "http://localhost:3035/api/v1/health" ;;
|
||||||
storage-web) echo "http://localhost:5015/health" ;;
|
storage-web) echo "http://localhost:5015/health" ;;
|
||||||
memoro-server) echo "http://localhost:3015/health" ;;
|
memoro-server) echo "http://localhost:3015/health" ;;
|
||||||
|
|
@ -371,7 +371,7 @@ jobs:
|
||||||
SERVICES="${{ steps.services.outputs.services }}"
|
SERVICES="${{ steps.services.outputs.services }}"
|
||||||
|
|
||||||
if [ "$DEPLOY_ALL" == "true" ]; then
|
if [ "$DEPLOY_ALL" == "true" ]; then
|
||||||
SERVICES="mana-auth matrix-web chat-backend chat-web todo-backend todo-web calendar-backend calendar-web clock-web contacts-backend contacts-web mukke-backend mukke-web storage-backend storage-web memoro-server memoro-audio-server memoro-web"
|
SERVICES="mana-auth matrix-web chat-backend chat-web todo-backend todo-web calendar-backend calendar-web clock-web contacts-backend contacts-web music-backend music-web storage-backend storage-web memoro-server memoro-audio-server memoro-web"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HEALTH_RESULTS=""
|
HEALTH_RESULTS=""
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ ingress:
|
||||||
service: http://localhost:3041
|
service: http://localhost:3041
|
||||||
|
|
||||||
# NOTE: Individual app backends (chat, todo, calendar, contacts, storage,
|
# NOTE: Individual app backends (chat, todo, calendar, contacts, storage,
|
||||||
# nutriphi, mukke, planta, picture, etc.) have been REMOVED — all migrated
|
# nutriphi, music, planta, picture, etc.) have been REMOVED — all migrated
|
||||||
# to local-first architecture. Web apps run as routes under mana.how.
|
# to local-first architecture. Web apps run as routes under mana.how.
|
||||||
# Only uload-server and memoro-server remain as app-specific backends.
|
# Only uload-server and memoro-server remain as app-specific backends.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ services:
|
||||||
mc mb --ignore-existing myminio/inventory-storage;
|
mc mb --ignore-existing myminio/inventory-storage;
|
||||||
mc mb --ignore-existing myminio/planta-storage;
|
mc mb --ignore-existing myminio/planta-storage;
|
||||||
mc mb --ignore-existing myminio/projectdoc-storage;
|
mc mb --ignore-existing myminio/projectdoc-storage;
|
||||||
mc mb --ignore-existing myminio/mukke-storage;
|
mc mb --ignore-existing myminio/music-storage;
|
||||||
mc anonymous set download myminio/manacore-storage;
|
mc anonymous set download myminio/manacore-storage;
|
||||||
mc anonymous set download myminio/picture-storage;
|
mc anonymous set download myminio/picture-storage;
|
||||||
mc anonymous set download myminio/planta-storage;
|
mc anonymous set download myminio/planta-storage;
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
MINIO_ROOT_USER: ${MINIO_ACCESS_KEY:-minioadmin}
|
MINIO_ROOT_USER: ${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY:-minioadmin}
|
MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY:-minioadmin}
|
||||||
MINIO_API_CORS_ALLOW_ORIGIN: https://mukke.mana.how,https://mana.how,https://picture.mana.how,https://storage.mana.how,https://planta.mana.how,https://contacts.mana.how,https://chat.mana.how,https://nutriphi.mana.how,https://photos.mana.how
|
MINIO_API_CORS_ALLOW_ORIGIN: https://music.mana.how,https://mana.how,https://picture.mana.how,https://storage.mana.how,https://planta.mana.how,https://contacts.mana.how,https://chat.mana.how,https://nutriphi.mana.how,https://photos.mana.how
|
||||||
volumes:
|
volumes:
|
||||||
- /Volumes/ManaData/minio:/data
|
- /Volumes/ManaData/minio:/data
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -178,7 +178,7 @@ services:
|
||||||
mc mb --ignore-existing myminio/contacts-storage;
|
mc mb --ignore-existing myminio/contacts-storage;
|
||||||
mc mb --ignore-existing myminio/storage-storage;
|
mc mb --ignore-existing myminio/storage-storage;
|
||||||
mc mb --ignore-existing myminio/inventory-storage;
|
mc mb --ignore-existing myminio/inventory-storage;
|
||||||
mc mb --ignore-existing myminio/mukke-storage;
|
mc mb --ignore-existing myminio/music-storage;
|
||||||
mc mb --ignore-existing myminio/planta-storage;
|
mc mb --ignore-existing myminio/planta-storage;
|
||||||
mc mb --ignore-existing myminio/projectdoc-storage;
|
mc mb --ignore-existing myminio/projectdoc-storage;
|
||||||
mc mb --ignore-existing myminio/mail-storage;
|
mc mb --ignore-existing myminio/mail-storage;
|
||||||
|
|
@ -274,7 +274,7 @@ services:
|
||||||
MANA_NOTIFY_URL: http://mana-notify:3013
|
MANA_NOTIFY_URL: http://mana-notify:3013
|
||||||
SYNAPSE_OIDC_CLIENT_SECRET: ${SYNAPSE_OIDC_CLIENT_SECRET:-}
|
SYNAPSE_OIDC_CLIENT_SECRET: ${SYNAPSE_OIDC_CLIENT_SECRET:-}
|
||||||
MAX_DAILY_SIGNUPS: ${MAX_DAILY_SIGNUPS:-0}
|
MAX_DAILY_SIGNUPS: ${MAX_DAILY_SIGNUPS:-0}
|
||||||
CORS_ORIGINS: https://mana.how,https://calendar.mana.how,https://chat.mana.how,https://clock.mana.how,https://contacts.mana.how,https://context.mana.how,https://docs.mana.how,https://element.mana.how,https://inventar.mana.how,https://link.mana.how,https://cards.mana.how,https://matrix.mana.how,https://mukke.mana.how,https://nutriphi.mana.how,https://photos.mana.how,https://picture.mana.how,https://planta.mana.how,https://playground.mana.how,https://presi.mana.how,https://questions.mana.how,https://skilltree.mana.how,https://storage.mana.how,https://times.mana.how,https://todo.mana.how,https://traces.mana.how,https://zitare.mana.how
|
CORS_ORIGINS: https://mana.how,https://calendar.mana.how,https://chat.mana.how,https://clock.mana.how,https://contacts.mana.how,https://context.mana.how,https://docs.mana.how,https://element.mana.how,https://inventar.mana.how,https://link.mana.how,https://cards.mana.how,https://matrix.mana.how,https://music.mana.how,https://nutriphi.mana.how,https://photos.mana.how,https://picture.mana.how,https://planta.mana.how,https://playground.mana.how,https://presi.mana.how,https://questions.mana.how,https://skilltree.mana.how,https://storage.mana.how,https://times.mana.how,https://todo.mana.how,https://traces.mana.how,https://zitare.mana.how
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -308,7 +308,7 @@ services:
|
||||||
STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY:-}
|
STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY:-}
|
||||||
STRIPE_WEBHOOK_SECRET: ${STRIPE_CREDITS_WEBHOOK_SECRET:-}
|
STRIPE_WEBHOOK_SECRET: ${STRIPE_CREDITS_WEBHOOK_SECRET:-}
|
||||||
BASE_URL: https://credits.mana.how
|
BASE_URL: https://credits.mana.how
|
||||||
CORS_ORIGINS: https://mana.how,https://chat.mana.how,https://picture.mana.how,https://todo.mana.how,https://zitare.mana.how,https://calendar.mana.how,https://clock.mana.how,https://contacts.mana.how,https://cards.mana.how,https://presi.mana.how,https://storage.mana.how,https://nutriphi.mana.how,https://planta.mana.how,https://mukke.mana.how,https://context.mana.how,https://photos.mana.how,https://questions.mana.how,https://calc.mana.how
|
CORS_ORIGINS: https://mana.how,https://chat.mana.how,https://picture.mana.how,https://todo.mana.how,https://zitare.mana.how,https://calendar.mana.how,https://clock.mana.how,https://contacts.mana.how,https://cards.mana.how,https://presi.mana.how,https://storage.mana.how,https://nutriphi.mana.how,https://planta.mana.how,https://music.mana.how,https://context.mana.how,https://photos.mana.how,https://questions.mana.how,https://calc.mana.how
|
||||||
ports:
|
ports:
|
||||||
- "3002:3002"
|
- "3002:3002"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -339,7 +339,7 @@ services:
|
||||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-mana123}@postgres:5432/mana_platform
|
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-mana123}@postgres:5432/mana_platform
|
||||||
MANA_CORE_AUTH_URL: http://mana-auth:3001
|
MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||||
MANA_CORE_SERVICE_KEY: ${MANA_CORE_SERVICE_KEY}
|
MANA_CORE_SERVICE_KEY: ${MANA_CORE_SERVICE_KEY}
|
||||||
CORS_ORIGINS: https://mana.how,https://calc.mana.how,https://calendar.mana.how,https://chat.mana.how,https://clock.mana.how,https://contacts.mana.how,https://context.mana.how,https://cards.mana.how,https://mukke.mana.how,https://nutriphi.mana.how,https://photos.mana.how,https://picture.mana.how,https://planta.mana.how,https://presi.mana.how,https://questions.mana.how,https://storage.mana.how,https://todo.mana.how,https://zitare.mana.how
|
CORS_ORIGINS: https://mana.how,https://calc.mana.how,https://calendar.mana.how,https://chat.mana.how,https://clock.mana.how,https://contacts.mana.how,https://context.mana.how,https://cards.mana.how,https://music.mana.how,https://nutriphi.mana.how,https://photos.mana.how,https://picture.mana.how,https://planta.mana.how,https://presi.mana.how,https://questions.mana.how,https://storage.mana.how,https://todo.mana.how,https://zitare.mana.how
|
||||||
ports:
|
ports:
|
||||||
- "3062:3062"
|
- "3062:3062"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -897,8 +897,8 @@ services:
|
||||||
PUBLIC_STORAGE_API_URL_CLIENT: https://storage-api.mana.how
|
PUBLIC_STORAGE_API_URL_CLIENT: https://storage-api.mana.how
|
||||||
PUBLIC_CARDS_API_URL: http://cards-backend:3036
|
PUBLIC_CARDS_API_URL: http://cards-backend:3036
|
||||||
PUBLIC_CARDS_API_URL_CLIENT: https://cards-api.mana.how
|
PUBLIC_CARDS_API_URL_CLIENT: https://cards-api.mana.how
|
||||||
PUBLIC_MUKKE_API_URL: http://mukke-backend:3037
|
PUBLIC_MUSIC_API_URL: http://music-backend:3037
|
||||||
PUBLIC_MUKKE_API_URL_CLIENT: https://mukke-api.mana.how
|
PUBLIC_MUSIC_API_URL_CLIENT: https://music-api.mana.how
|
||||||
PUBLIC_NUTRIPHI_API_URL: http://nutriphi-backend:3038
|
PUBLIC_NUTRIPHI_API_URL: http://nutriphi-backend:3038
|
||||||
PUBLIC_NUTRIPHI_API_URL_CLIENT: https://nutriphi-api.mana.how
|
PUBLIC_NUTRIPHI_API_URL_CLIENT: https://nutriphi-api.mana.how
|
||||||
PUBLIC_ULOAD_SERVER_URL: http://uload-server:3070
|
PUBLIC_ULOAD_SERVER_URL: http://uload-server:3070
|
||||||
|
|
@ -924,7 +924,7 @@ services:
|
||||||
# REMOVED standalone web containers — now served by unified mana-web container (mana.how):
|
# REMOVED standalone web containers — now served by unified mana-web container (mana.how):
|
||||||
# chat-web, todo-web, zitare-web, calendar-web, clock-web, contacts-web,
|
# chat-web, todo-web, zitare-web, calendar-web, clock-web, contacts-web,
|
||||||
# storage-web, presi-web, cards-web, nutriphi-web, skilltree-web, photos-web,
|
# storage-web, presi-web, cards-web, nutriphi-web, skilltree-web, photos-web,
|
||||||
# mukke-web, citycorners-web, picture-web, inventar-web, calc-web, times-web,
|
# music-web, citycorners-web, picture-web, inventar-web, calc-web, times-web,
|
||||||
# uload-web, memoro-web
|
# uload-web, memoro-web
|
||||||
|
|
||||||
# picture-backend: REMOVED — replaced by Hono server (apps/picture/apps/server)
|
# picture-backend: REMOVED — replaced by Hono server (apps/picture/apps/server)
|
||||||
|
|
|
||||||
|
|
@ -482,8 +482,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": { "type": "prometheus", "uid": "${datasource}" },
|
"datasource": { "type": "prometheus", "uid": "${datasource}" },
|
||||||
"expr": "up{job=\"mukke-backend\"}",
|
"expr": "up{job=\"music-backend\"}",
|
||||||
"legendFormat": "Mukke",
|
"legendFormat": "Music",
|
||||||
"refId": "P"
|
"refId": "P"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -609,8 +609,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": { "type": "prometheus", "uid": "${datasource}" },
|
"datasource": { "type": "prometheus", "uid": "${datasource}" },
|
||||||
"expr": "up{job=\"mukke-backend\"}",
|
"expr": "up{job=\"music-backend\"}",
|
||||||
"legendFormat": "Mukke",
|
"legendFormat": "Music",
|
||||||
"refId": "P"
|
"refId": "P"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ scrape_configs:
|
||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
|
|
||||||
# NOTE: Individual app backends (chat, todo, calendar, contacts, storage,
|
# NOTE: Individual app backends (chat, todo, calendar, contacts, storage,
|
||||||
# nutriphi, mukke, planta, picture) have been REMOVED — all migrated to
|
# nutriphi, music, planta, picture) have been REMOVED — all migrated to
|
||||||
# local-first architecture. Only uload-server and memoro-server remain.
|
# local-first architecture. Only uload-server and memoro-server remain.
|
||||||
|
|
||||||
# Mana LLM Gateway (Ollama + Google Fallback)
|
# Mana LLM Gateway (Ollama + Google Fallback)
|
||||||
|
|
@ -246,7 +246,7 @@ scrape_configs:
|
||||||
- https://mana.how/zitare
|
- https://mana.how/zitare
|
||||||
- https://mana.how/cards
|
- https://mana.how/cards
|
||||||
- https://mana.how/skilltree
|
- https://mana.how/skilltree
|
||||||
- https://mana.how/mukke
|
- https://mana.how/music
|
||||||
- https://mana.how/citycorners
|
- https://mana.how/citycorners
|
||||||
- https://mana.how/memoro
|
- https://mana.how/memoro
|
||||||
- https://mana.how/moodlit
|
- https://mana.how/moodlit
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ const apps = [
|
||||||
{ name: 'nutriphi', url: `${BASE}:5182` },
|
{ name: 'nutriphi', url: `${BASE}:5182` },
|
||||||
{ name: 'skilltree', url: `${BASE}:5183` },
|
{ name: 'skilltree', url: `${BASE}:5183` },
|
||||||
{ name: 'photos', url: `${BASE}:5184` },
|
{ name: 'photos', url: `${BASE}:5184` },
|
||||||
{ name: 'mukke', url: `${BASE}:5189` },
|
{ name: 'music', url: `${BASE}:5189` },
|
||||||
{ name: 'citycorners', url: `${BASE}:5190` },
|
{ name: 'citycorners', url: `${BASE}:5190` },
|
||||||
{ name: 'picture', url: `${BASE}:5174` },
|
{ name: 'picture', url: `${BASE}:5174` },
|
||||||
{ name: 'inventar', url: `${BASE}:5191` },
|
{ name: 'inventar', url: `${BASE}:5191` },
|
||||||
|
|
|
||||||
12
package.json
12
package.json
|
|
@ -178,11 +178,11 @@
|
||||||
"dev:storage:web": "pnpm --filter @storage/web dev",
|
"dev:storage:web": "pnpm --filter @storage/web dev",
|
||||||
"dev:storage:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:storage:web\"",
|
"dev:storage:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:storage:web\"",
|
||||||
"dev:storage:full": "concurrently -n auth,sync,api -c blue,magenta,yellow \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:storage:full": "concurrently -n auth,sync,api -c blue,magenta,yellow \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"mukke:dev": "turbo run dev --filter=mukke...",
|
"music:dev": "turbo run dev --filter=music...",
|
||||||
"dev:mukke:web": "pnpm --filter @mukke/web dev",
|
"dev:music:web": "pnpm --filter @music/web dev",
|
||||||
"dev:mukke:landing": "pnpm --filter @mukke/landing dev",
|
"dev:music:landing": "pnpm --filter @music/landing dev",
|
||||||
"dev:mukke:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:mukke:web\"",
|
"dev:music:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:music:web\"",
|
||||||
"dev:mukke:full": "concurrently -n auth,sync,api -c blue,magenta,yellow \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:music:full": "concurrently -n auth,sync,api -c blue,magenta,yellow \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"traces:dev": "turbo run dev --filter=traces...",
|
"traces:dev": "turbo run dev --filter=traces...",
|
||||||
"dev:traces:mobile": "pnpm --filter @traces/mobile dev",
|
"dev:traces:mobile": "pnpm --filter @traces/mobile dev",
|
||||||
"dev:traces:full": "concurrently -n auth,sync,api -c blue,magenta,yellow \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:traces:full": "concurrently -n auth,sync,api -c blue,magenta,yellow \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
|
|
@ -241,7 +241,7 @@
|
||||||
"dev:contacts:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:contacts:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"dev:context:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:context:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"dev:cards:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:cards:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"dev:mukke:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:music:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"dev:nutriphi:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:nutriphi:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"dev:picture:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:picture:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
"dev:planta:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
"dev:planta:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ const WORKSPACE_SCOPES = new Set([
|
||||||
'@contacts',
|
'@contacts',
|
||||||
'@context',
|
'@context',
|
||||||
'@matrix',
|
'@matrix',
|
||||||
'@mukke',
|
'@music',
|
||||||
'@nutriphi',
|
'@nutriphi',
|
||||||
'@photos',
|
'@photos',
|
||||||
'@picture',
|
'@picture',
|
||||||
|
|
|
||||||
|
|
@ -594,30 +594,30 @@ const APP_CONFIGS = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// Mukke Server (Hono/Bun)
|
// Music Server (Hono/Bun)
|
||||||
{
|
{
|
||||||
path: 'apps/mukke/apps/server/.env',
|
path: 'apps/mukke/apps/server/.env',
|
||||||
vars: {
|
vars: {
|
||||||
NODE_ENV: () => 'development',
|
NODE_ENV: () => 'development',
|
||||||
PORT: (env) => env.MUKKE_BACKEND_PORT || '3010',
|
PORT: (env) => env.MUSIC_BACKEND_PORT || '3010',
|
||||||
DATABASE_URL: (env) => env.MUKKE_DATABASE_URL,
|
DATABASE_URL: (env) => env.MUSIC_DATABASE_URL,
|
||||||
MANA_CORE_AUTH_URL: (env) => env.MANA_CORE_AUTH_URL,
|
MANA_CORE_AUTH_URL: (env) => env.MANA_CORE_AUTH_URL,
|
||||||
S3_ENDPOINT: (env) => env.S3_ENDPOINT || 'http://localhost:9000',
|
S3_ENDPOINT: (env) => env.S3_ENDPOINT || 'http://localhost:9000',
|
||||||
S3_REGION: (env) => env.S3_REGION || 'us-east-1',
|
S3_REGION: (env) => env.S3_REGION || 'us-east-1',
|
||||||
S3_ACCESS_KEY: (env) => env.S3_ACCESS_KEY || 'minioadmin',
|
S3_ACCESS_KEY: (env) => env.S3_ACCESS_KEY || 'minioadmin',
|
||||||
S3_SECRET_KEY: (env) => env.S3_SECRET_KEY || 'minioadmin',
|
S3_SECRET_KEY: (env) => env.S3_SECRET_KEY || 'minioadmin',
|
||||||
S3_BUCKET: () => 'mukke-storage',
|
S3_BUCKET: () => 'music-storage',
|
||||||
DEV_BYPASS_AUTH: () => 'true',
|
DEV_BYPASS_AUTH: () => 'true',
|
||||||
DEV_USER_ID: (env) => env.DEV_USER_ID || '00000000-0000-0000-0000-000000000000',
|
DEV_USER_ID: (env) => env.DEV_USER_ID || '00000000-0000-0000-0000-000000000000',
|
||||||
CORS_ORIGINS: (env) => env.CORS_ORIGINS,
|
CORS_ORIGINS: (env) => env.CORS_ORIGINS,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// Mukke Web (SvelteKit)
|
// Music Web (SvelteKit)
|
||||||
{
|
{
|
||||||
path: 'apps/mukke/apps/web/.env',
|
path: 'apps/mukke/apps/web/.env',
|
||||||
vars: {
|
vars: {
|
||||||
PUBLIC_BACKEND_URL: (env) => `http://localhost:${env.MUKKE_BACKEND_PORT || '3010'}`,
|
PUBLIC_BACKEND_URL: (env) => `http://localhost:${env.MUSIC_BACKEND_PORT || '3010'}`,
|
||||||
PUBLIC_MANA_CORE_AUTH_URL: (env) => env.MANA_CORE_AUTH_URL,
|
PUBLIC_MANA_CORE_AUTH_URL: (env) => env.MANA_CORE_AUTH_URL,
|
||||||
PUBLIC_GLITCHTIP_DSN: (env) => env.PUBLIC_GLITCHTIP_DSN || '',
|
PUBLIC_GLITCHTIP_DSN: (env) => env.PUBLIC_GLITCHTIP_DSN || '',
|
||||||
},
|
},
|
||||||
|
|
@ -732,11 +732,11 @@ const APP_CONFIGS = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// Mukke Landing
|
// Music Landing
|
||||||
{
|
{
|
||||||
path: 'apps/mukke/apps/landing/.env',
|
path: 'apps/mukke/apps/landing/.env',
|
||||||
vars: {
|
vars: {
|
||||||
PUBLIC_UMAMI_WEBSITE_ID: (env) => env.UMAMI_WEBSITE_ID_MUKKE_LANDING || '',
|
PUBLIC_UMAMI_WEBSITE_ID: (env) => env.UMAMI_WEBSITE_ID_MUSIC_LANDING || '',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ APPS=(
|
||||||
"photos.mana.how"
|
"photos.mana.how"
|
||||||
"skilltree.mana.how"
|
"skilltree.mana.how"
|
||||||
"picture.mana.how"
|
"picture.mana.how"
|
||||||
"mukke.mana.how"
|
"music.mana.how"
|
||||||
)
|
)
|
||||||
|
|
||||||
RESULTS_DIR="lighthouse-results"
|
RESULTS_DIR="lighthouse-results"
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ sleep 5
|
||||||
|
|
||||||
# Create all needed databases
|
# Create all needed databases
|
||||||
for db in mana_auth mana_credits mana_user mana_subscriptions mana_analytics mana_sync \
|
for db in mana_auth mana_credits mana_user mana_subscriptions mana_analytics mana_sync \
|
||||||
chat todo calendar contacts storage cards mukke nutriphi planta \
|
chat todo calendar contacts storage cards music nutriphi planta \
|
||||||
questions traces context citycorners photos presi skilltree; do
|
questions traces context citycorners photos presi skilltree; do
|
||||||
docker compose -f "$COMPOSE_FILE" exec -T postgres \
|
docker compose -f "$COMPOSE_FILE" exec -T postgres \
|
||||||
psql -U postgres -c "CREATE DATABASE $db;" 2>/dev/null || true
|
psql -U postgres -c "CREATE DATABASE $db;" 2>/dev/null || true
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ const PROJECT_META: Record<string, { name: string; icon: string }> = {
|
||||||
planta: { name: 'Planta', icon: '🌱' },
|
planta: { name: 'Planta', icon: '🌱' },
|
||||||
storage: { name: 'Storage', icon: '☁️' },
|
storage: { name: 'Storage', icon: '☁️' },
|
||||||
questions: { name: 'Questions', icon: '❓' },
|
questions: { name: 'Questions', icon: '❓' },
|
||||||
mukke: { name: 'Mukke', icon: '🎵' },
|
music: { name: 'Music', icon: '🎵' },
|
||||||
context: { name: 'Context', icon: '📄' },
|
context: { name: 'Context', icon: '📄' },
|
||||||
photos: { name: 'Photos', icon: '📷' },
|
photos: { name: 'Photos', icon: '📷' },
|
||||||
skilltree: { name: 'SkillTree', icon: '🌳' },
|
skilltree: { name: 'SkillTree', icon: '🌳' },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue