Fix port docker
This commit is contained in:
+9
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user