Files
HKSingleParty/03_source/docker/docker-compose.yml
louiscklaw db805f23b6 update
2025-05-28 21:06:12 +08:00

56 lines
1.0 KiB
YAML

volumes:
db:
driver: local
services:
frontend:
image: 192.168.10.61:5000/demo_minimal_kit_frontend
build: ../frontend
# user: 1000:1000
ports:
- 8080:8080
volumes:
- ../frontend:/app
working_dir: "/app"
# command: "yarn dev"
command: "sleep infinity"
mobile:
image: 192.168.10.61:5000/hksingleparty_mobile
build: ../mobile
# user: 1000:1000
ports:
- 8081:3000
volumes:
- ../mobile:/app
working_dir: "/app"
command: "npm run dev"
cms_backend:
image: 192.168.10.61:5000/demo_minimal_kit_backend
build: ../cms_backend
# user: 1000:1000
env_file:
- .env
ports:
- 7272:7272
- 5555:5555
volumes:
- ../cms_backend:/app
working_dir: "/app"
# command: "yarn dev"
command: "sleep infinity"
postgres:
container_name: postgres
image: postgres:14.1-alpine
restart: unless-stopped
env_file:
- .env
expose:
- "5432"
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data