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.
This commit is contained in:
@@ -232,11 +232,11 @@ services:
|
|||||||
- ./keys:/keys:ro
|
- ./keys:/keys:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
frontend:
|
web-player:
|
||||||
build:
|
build:
|
||||||
context: ../web-player
|
context: ../web-player
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: musify-frontend
|
container_name: musify-web-player
|
||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
environment:
|
environment:
|
||||||
@@ -258,7 +258,7 @@ services:
|
|||||||
- api
|
- api
|
||||||
- gateway
|
- gateway
|
||||||
- zitadel
|
- zitadel
|
||||||
- frontend
|
- web-player
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ server {
|
|||||||
ssl_certificate_key /etc/nginx/certs/origin.key;
|
ssl_certificate_key /etc/nginx/certs/origin.key;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
set $upstream http://frontend:3000;
|
set $upstream http://web-player:3000;
|
||||||
proxy_pass $upstream;
|
proxy_pass $upstream;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
Reference in New Issue
Block a user