-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
31 lines (30 loc) · 1.08 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
31 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
soarca-gui-dev:
container_name: soarca-gui-dev
image: soarca-gui:dev
extra_hosts:
- "host.docker.internal:host-gateway"
build:
context: .
dockerfile: Dockerfile.dev
args:
VITE_BACKEND_URL: ${VITE_BACKEND_URL:-http://host.docker.internal:8080}
VITE_SERVER_PORT: ${VITE_SERVER_PORT:-5173}
ports:
- "${DOCKER_HOST_PORT:-5173}:${VITE_SERVER_PORT:-5173}"
environment:
- NODE_ENV=development
- VITE_BACKEND_URL=${VITE_BACKEND_URL:-http://host.docker.internal:8080}
- VITE_SERVER_PORT=${VITE_SERVER_PORT:-5173}
- VITE_ENABLE_HTTPS=${VITE_ENABLE_HTTPS:-false}
- VITE_HTTPS_CERT_FILE=${VITE_HTTPS_CERT_FILE:-/app/certs/server.crt}
- VITE_HTTPS_KEY_FILE=${VITE_HTTPS_KEY_FILE:-/app/certs/server.key}
- VITE_VERIFY_SSL=${VITE_VERIFY_SSL:-false}
- VITE_IS_DOCKER=true
volumes:
- .:/app
- ./certs:/app/certs:ro
- node_modules_volume:/app/node_modules
command: sh -c "npm install && npm run dev"
volumes:
node_modules_volume: