fix: rename compose service prediqo-web for Docker DNS
Underscores in prediqo_web break nginx resolver 127.0.0.11 lookups; hyphenated service name fixes /setup 502. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
04f45782e9
commit
d798080262
@ -32,7 +32,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://prediqo_web:80/;
|
||||
proxy_pass http://prediqo-web:80/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
@ -183,7 +183,7 @@ services:
|
||||
ENGINE_ENABLED: "false"
|
||||
command: ["node", "dist/apps/worker-bets.js"]
|
||||
|
||||
prediqo_web:
|
||||
prediqo-web:
|
||||
build:
|
||||
context: ./prediqo_web
|
||||
dockerfile: Dockerfile
|
||||
@ -205,7 +205,7 @@ services:
|
||||
container_name: prediqo_nginx
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
prediqo_web:
|
||||
prediqo-web:
|
||||
condition: service_started
|
||||
backend:
|
||||
condition: service_healthy
|
||||
@ -228,7 +228,7 @@ services:
|
||||
container_name: prediqo_nginx_https
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
prediqo_web:
|
||||
prediqo-web:
|
||||
condition: service_started
|
||||
backend:
|
||||
condition: service_healthy
|
||||
@ -297,7 +297,7 @@ services:
|
||||
container_name: prediqo_nginx_ssl
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
prediqo_web:
|
||||
prediqo-web:
|
||||
condition: service_started
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
@ -36,7 +36,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
set $frontend prediqo_web;
|
||||
set $frontend prediqo-web;
|
||||
proxy_pass http://$frontend:80;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@ -51,7 +51,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
set $frontend prediqo_web;
|
||||
set $frontend prediqo-web;
|
||||
proxy_pass http://$frontend:80;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@ -49,7 +49,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
set $frontend prediqo_web;
|
||||
set $frontend prediqo-web;
|
||||
proxy_pass http://$frontend:80;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
"phase-b:up:https": "docker compose --profile https-dns up -d --build",
|
||||
"phase-b:up:ssl": "docker compose --profile ssl up -d --build",
|
||||
"phase-b:down": "docker compose down",
|
||||
"phase-b:logs": "docker compose logs -f nginx-https-dns nginx backend backend-engine backend-ws backend-worker-bets redis prediqo_web",
|
||||
"phase-b:restart": "docker compose --profile https-dns restart nginx-https-dns backend backend-engine backend-ws backend-worker-bets prediqo_web",
|
||||
"phase-b:logs": "docker compose logs -f nginx-https-dns nginx backend backend-engine backend-ws backend-worker-bets redis prediqo-web",
|
||||
"phase-b:restart": "docker compose --profile https-dns restart nginx-https-dns backend backend-engine backend-ws backend-worker-bets prediqo-web",
|
||||
"phase-b:status": "docker compose ps",
|
||||
"ssl:init": "docker compose --profile ssl-init run --rm certbot-init",
|
||||
"ssl:dns-init": "docker compose --profile dns-init run --rm -it certbot-dns-init",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user