Opening application to network #157
|
Hi, I've successfully built and started OpenWA on Ubuntu. Initially the container was only exposed as However, I'm now running into an issue where OpenWA appears to be validating or redirecting against an HTTPS origin (e.g. What is the recommended way to expose OpenWA to other devices on a local network? Is there a supported configuration for binding to Also, would it be possible to provide OpenWA as a fully self-contained Docker image so deployment can be as simple as: services:
openwa:
image: openwa/openwa:latest
ports:
- "2785:2785"This would greatly simplify server deployments by removing the need to clone the repository, build locally, or run from a specific directory. Is there an official image available, or are there plans to support this deployment model? |
Replies: 1 comment
|
Hi @adrian-purnama — both of your questions have answers, so let me lay them out. 1. Pre-built Docker imageThis has been available since very early on — every release tag going back to docker pull ghcr.io/rmyndharis/openwa:latest # or a specific tag like :0.10.2A minimal one-liner deploy looks exactly like what you sketched: services:
openwa:
image: ghcr.io/rmyndharis/openwa:latest
ports:
- "2785:2785"
volumes:
- ./data:/app/data
restart: unless-stoppedSo you do not need to clone the repo and build locally — that's just an alternative documented in the Quick Start for users who want to hack on the source. The compose files in the repo do bind-mount Tags follow semver: 2. Exposing OpenWA to your local networkTwo pieces here: (a) Bind to the network interfaceBy default the bundled compose binds to # .env
BIND_HOST=0.0.0.0Or, with a hand-rolled (b) The HTTPS-upgrade trap you hitWhat you described (browser forcing There's a built-in opt-out for exactly this case. In the same CSP_UPGRADE_INSECURE_REQUESTS=falseThat disables the directive (only do this on a trusted private network you control). The bundled compose files already forward this var, so a Recommended production postureFor anything beyond a trusted LAN, the safer pattern is to keep OpenWA bound to localhost and put a reverse proxy (Caddy / Traefik / Nginx / Coolify) in front of it that terminates TLS. We have a step-by-step guide in Hope that unblocks you! |
Hi @adrian-purnama — both of your questions have answers, so let me lay them out.
1. Pre-built Docker image
This has been available since very early on — every release tag going back to
v0.1.1publishes a multi-arch image (linux/amd64+linux/arm64) to GHCR:docker pull ghcr.io/rmyndharis/openwa:latest # or a specific tag like :0.10.2A minimal one-liner deploy looks exactly like what you sketched:
So you do not need to clone the repo and build locally — that's just an alternative documented in the Quick Start for users who want…