Fix port docker

This commit is contained in:
mahmood
2026-09-10 12:43:30 +03:30
parent cea3b808d8
commit 9e8d4a017d
+9 -6
View File
@@ -24,8 +24,9 @@ services:
environment:
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgres@db:5432/goldbank?schema=public}
- PORT=${PORT:-3000}
ports:
- "3000:3000"
# No host ports — Dokploy/Traefik routes by domain to container port 3000
expose:
- "3000"
restart: unless-stopped
admin-panel:
@@ -33,8 +34,9 @@ services:
context: ./apps/admin-panel
dockerfile: Dockerfile
container_name: goldbank_admin_panel
ports:
- "8080:80"
# No host ports — Dokploy/Traefik routes by domain to container port 80
expose:
- "80"
restart: unless-stopped
depends_on:
- api
@@ -44,8 +46,9 @@ services:
context: ./apps/user-app
dockerfile: Dockerfile
container_name: goldbank_user_app
ports:
- "8081:80"
# No host ports — Dokploy/Traefik routes by domain to container port 80
expose:
- "80"
restart: unless-stopped
depends_on:
- api