45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
services:
|
|
api:
|
|
command: ["npm", "run", "dev:api:watch"]
|
|
volumes:
|
|
- .:/app
|
|
- workspace_node_modules:/app/node_modules
|
|
|
|
worker:
|
|
command: ["npm", "run", "dev:worker:watch"]
|
|
volumes:
|
|
- .:/app
|
|
- workspace_node_modules:/app/node_modules
|
|
|
|
admin:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: node-runtime
|
|
command: ["npm", "run", "dev:admin", "--", "--host", "0.0.0.0", "--port", "4200"]
|
|
working_dir: /app
|
|
environment:
|
|
VITE_API_PROXY_TARGET: http://api:4300
|
|
CHOKIDAR_USEPOLLING: "true"
|
|
ports:
|
|
- "4200:4200"
|
|
volumes:
|
|
- .:/app
|
|
- workspace_node_modules:/app/node_modules
|
|
|
|
submission:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: node-runtime
|
|
command: ["npm", "run", "dev:submission", "--", "--host", "0.0.0.0", "--port", "4100"]
|
|
working_dir: /app
|
|
environment:
|
|
VITE_API_PROXY_TARGET: http://api:4300
|
|
CHOKIDAR_USEPOLLING: "true"
|
|
ports:
|
|
- "4100:4100"
|
|
volumes:
|
|
- .:/app
|
|
- workspace_node_modules:/app/node_modules
|