43 lines
888 B
YAML
43 lines
888 B
YAML
# services:
|
|
# web:
|
|
# build:
|
|
# context: .
|
|
# dockerfile: Dockerfile
|
|
# container_name: qris_bank_jatim
|
|
# ports:
|
|
# - "3000:3000"
|
|
# volumes:
|
|
# - ./qris_bank_jatim:/app
|
|
# environment:
|
|
# - NODE_ENV=development
|
|
# command: npm run dev
|
|
# working_dir: /app
|
|
# networks:
|
|
# - qris-network
|
|
|
|
# networks:
|
|
# qris-network:
|
|
# driver: bridge
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: qris_bank_jatim
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
# Only mount source code, exclude node_modules
|
|
- ./qris_bank_jatim:/app
|
|
- /app/node_modules # Prevent host node_modules from overriding container's
|
|
environment:
|
|
- NODE_ENV=development
|
|
- HOST=0.0.0.0
|
|
working_dir: /app
|
|
networks:
|
|
- qris-network
|
|
|
|
networks:
|
|
qris-network:
|
|
driver: bridge |