24 lines
735 B
YAML
24 lines
735 B
YAML
# Development override - automatically used by docker compose
|
|
# This file enables hot reloading and development features
|
|
|
|
services:
|
|
ims:
|
|
build:
|
|
dockerfile: Dockerfile.dev
|
|
volumes:
|
|
# Mount source code for hot reloading
|
|
- .:/usr/src/app
|
|
- /usr/src/app/node_modules # Prevent overwriting node_modules
|
|
- "/Users/pfic/Desktop/IMS:/media"
|
|
- "./logs:/usr/src/app/logs"
|
|
environment:
|
|
- NODE_ENV=development
|
|
- PORT=8000
|
|
- MEDIA_PATH=/media
|
|
- DUPLICATE_BILL_TO_VENDOR=false
|
|
- IMS_TOKEN=
|
|
- CONVERT_QUALITY=0.5
|
|
- KEEP_CONVERTED_ORIGINALS=TRUE
|
|
# command: redis-server && npm run server # Use nodemon for hot reloading
|
|
stdin_open: true
|
|
tty: true |