From e10c24cad0a7ef8495b73021767fb70b53292881 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Mon, 20 Jul 2026 07:37:31 +0200 Subject: [PATCH] refactor(deploy): rename the frontend service to web-player Matches the folder rename: compose service frontend -> web-player, container musify-frontend -> musify-web-player, and the nginx upstream now points at http://web-player:3000. Deploying this needs --remove-orphans, or the old musify-frontend container is left behind. --- deploy/docker-compose.prod.yml | 6 +++--- deploy/nginx/conf.d/musify.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/docker-compose.prod.yml b/deploy/docker-compose.prod.yml index cd6a0c3..94d362f 100644 --- a/deploy/docker-compose.prod.yml +++ b/deploy/docker-compose.prod.yml @@ -232,11 +232,11 @@ services: - ./keys:/keys:ro restart: unless-stopped - frontend: + web-player: build: context: ../web-player dockerfile: Dockerfile - container_name: musify-frontend + container_name: musify-web-player depends_on: - api environment: @@ -258,7 +258,7 @@ services: - api - gateway - zitadel - - frontend + - web-player ports: - "80:80" - "443:443" diff --git a/deploy/nginx/conf.d/musify.conf b/deploy/nginx/conf.d/musify.conf index 452c4a2..7705764 100644 --- a/deploy/nginx/conf.d/musify.conf +++ b/deploy/nginx/conf.d/musify.conf @@ -110,7 +110,7 @@ server { ssl_certificate_key /etc/nginx/certs/origin.key; location / { - set $upstream http://frontend:3000; + set $upstream http://web-player:3000; proxy_pass $upstream; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;