Fix some for docker '
This commit is contained in:
+4
-4
@@ -8,7 +8,7 @@ node_modules/
|
||||
apps/api/generated/
|
||||
apps/api/dist/
|
||||
|
||||
# Intermediate build caches — release artifacts ARE committed for Dokploy copy-only deploys
|
||||
# apps/api/release/ ← committed (app.js + prisma)
|
||||
# apps/admin-panel/dist/ ← committed
|
||||
# apps/user-app/dist/ ← committed
|
||||
# Release artifacts ARE committed for Dokploy copy-only deploys:
|
||||
# apps/api/release/app.js + apps/api/release/vendor/ (Prisma)
|
||||
# apps/admin-panel/dist/
|
||||
# apps/user-app/dist/
|
||||
|
||||
@@ -11,7 +11,7 @@ server {
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
|
||||
location /api/ {
|
||||
set $api_upstream http://api:3000;
|
||||
set $api_upstream http://goldbank-api:3000;
|
||||
proxy_pass $api_upstream$request_uri;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -11,7 +11,7 @@ server {
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
|
||||
location /api/ {
|
||||
set $api_upstream http://api:3000;
|
||||
set $api_upstream http://goldbank-api:3000;
|
||||
proxy_pass $api_upstream$request_uri;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -35,6 +35,12 @@ services:
|
||||
expose:
|
||||
- "3000"
|
||||
restart: unless-stopped
|
||||
# The bare name "api" is ambiguous on Dokploy's shared network (other stacks
|
||||
# register it too), which made nginx dial the wrong containers. Use a unique alias.
|
||||
networks:
|
||||
default:
|
||||
aliases:
|
||||
- goldbank-api
|
||||
|
||||
admin-panel:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user