Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ VITE_SERVER_PORT=5173 # dev server port
# Values used by `docker-compose.dev.yml`. Compose will substitute ${VAR} from the
# project `.env` or the shell environment when you run `docker compose`.
VITE_APP_VERSION=development
VITE_BACKEND_URL=http://host.docker.internal:8080 # backend API URL used by the frontend inside the container (host.docker.internal points to the host machine)
VITE_BACKEND_URL=http://host.docker.internal:8080 # backend API URL used by the frontend inside the container (resolved via Compose host mapping)
VITE_SERVER_PORT=5173 # dev server port inside the container
Comment thread
Paul2803k marked this conversation as resolved.
DOCKER_HOST_PORT=5173 # port on the host machine mapped to the container's VITE_SERVER_PORT (for browser access)

########## Production (nginx) ##########
# Values used at container runtime by nginx to proxy /api/
NGINX_BACKEND_URL=http://host.docker.internal:8080/ # backend API URL used by nginx inside the container (host.docker.internal points to the host machine)
NGINX_BACKEND_URL=http://host.docker.internal:8080/ # backend API URL used by nginx inside the container (resolved via Compose host mapping)
Comment thread
Paul2803k marked this conversation as resolved.
NGINX_SERVER_PORT=8081 # port nginx listens on inside the container
DOCKER_HOST_PORT=8081 # port on the host machine mapped to the container's NGINX_SERVER_PORT (for browser access)
2 changes: 2 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ services:
soarca-gui-dev:
container_name: soarca-gui-dev
image: soarca-gui:dev
extra_hosts:
- "host.docker.internal:host-gateway"
Comment thread
Paul2803k marked this conversation as resolved.
build:
context: .
dockerfile: Dockerfile.dev
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ services:
soarca-gui:
container_name: soarca-gui
image: soarca-gui:latest
extra_hosts:
- "host.docker.internal:host-gateway"
Comment thread
Paul2803k marked this conversation as resolved.
build:
context: .
dockerfile: Dockerfile
Expand Down
Loading
Loading