Fix some for docker '

This commit is contained in:
mahmood
2026-09-10 14:59:25 +03:30
parent 1b675804ea
commit a4c5c9259f
4 changed files with 12 additions and 6 deletions
+4 -4
View File
@@ -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/
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+6
View File
@@ -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: