"update service port configuration and docker setup"

This commit is contained in:
louiscklaw
2025-06-11 12:37:22 +08:00
parent cc4d035f97
commit f487427b2c
4 changed files with 50 additions and 17 deletions

View File

@@ -8,22 +8,22 @@ services:
build: ../frontend
# user: 1000:1000
ports:
- 8080:8080
- 10001:8080
volumes:
- ../frontend:/app
working_dir: "/app"
command: "yarn dev"
working_dir: '/app'
command: './dev.sh'
mobile:
image: 192.168.10.61:5000/hksingleparty_mobile
build: ../mobile
# user: 1000:1000
ports:
- 8081:3000
- 10004:3000
volumes:
- ../mobile:/app
working_dir: "/app"
command: "npm run dev"
working_dir: '/app'
command: './dev.sh'
cms_backend:
image: 192.168.10.61:5000/demo_minimal_kit_backend
@@ -32,22 +32,19 @@ services:
env_file:
- .env
ports:
- 7272:7272
- 5555:5555
- 10002:7272
- 10003:5555
volumes:
- ../cms_backend:/app
working_dir: "/app"
command: "yarn dev"
working_dir: '/app'
command: './dev.sh'
postgres:
container_name: postgres
image: postgres:14.1-alpine
restart: unless-stopped
env_file:
- .env
expose:
- "5432"
ports:
- "5432:5432"
- '5432'
volumes:
- db:/var/lib/postgresql/data