Dream-MachineProcurementList/docker/docker-compose.dev.yml
Chever John 31801d0991
Updates application port to 3004
WHAT: Updates the application's default port from 8080 to 3004 across various Docker configurations and scripts. This includes changes to Dockerfiles, docker-compose files, and startup scripts. Also updates the vite config.
WHY: Standardizes the port used by the application to 3004 for consistency and to avoid potential conflicts with other services that might be using port 8080.
HOW: Modifies the `EXPOSE` directives in the Dockerfiles, the port mappings in the docker-compose files, the default port in the main application server file, the port in the vite config and the scripts that display the API URL.
2025-08-21 14:55:16 +08:00

20 lines
360 B
YAML

services:
api:
build:
context: ..
dockerfile: docker/Dockerfile.dev
image: dm-purchase-api:dev
platform: ${DOCKER_PLATFORM:-linux/amd64}
ports:
- "3004:3004"
environment:
- DB_PATH=/data/purchase.db
volumes:
- dm_db:/data
- ../dist:/app/frontend:ro
restart: unless-stopped
volumes:
dm_db: