Fix port docker
This commit is contained in:
+9
-6
@@ -24,8 +24,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgres@db:5432/goldbank?schema=public}
|
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgres@db:5432/goldbank?schema=public}
|
||||||
- PORT=${PORT:-3000}
|
- PORT=${PORT:-3000}
|
||||||
ports:
|
# No host ports — Dokploy/Traefik routes by domain to container port 3000
|
||||||
- "3000:3000"
|
expose:
|
||||||
|
- "3000"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
admin-panel:
|
admin-panel:
|
||||||
@@ -33,8 +34,9 @@ services:
|
|||||||
context: ./apps/admin-panel
|
context: ./apps/admin-panel
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: goldbank_admin_panel
|
container_name: goldbank_admin_panel
|
||||||
ports:
|
# No host ports — Dokploy/Traefik routes by domain to container port 80
|
||||||
- "8080:80"
|
expose:
|
||||||
|
- "80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
@@ -44,8 +46,9 @@ services:
|
|||||||
context: ./apps/user-app
|
context: ./apps/user-app
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: goldbank_user_app
|
container_name: goldbank_user_app
|
||||||
ports:
|
# No host ports — Dokploy/Traefik routes by domain to container port 80
|
||||||
- "8081:80"
|
expose:
|
||||||
|
- "80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
|
|||||||
Reference in New Issue
Block a user