Make internal and host ports configurable via env vars
This commit is contained in:
parent
fa01ac0f32
commit
3ef8aaf45a
5 changed files with 12 additions and 6 deletions
|
|
@ -39,13 +39,15 @@ The repo includes a `docker-compose.yml` that builds directly from GitLab, so Po
|
|||
- `ADMIN_PASSWORD`
|
||||
- `SMTP_PASS`
|
||||
- `PUBLIC_BASE_URL` (your HTTPS domain)
|
||||
- `INTERNAL_PORT` (default `8000`) — port the container listens on
|
||||
- `HOST_PORT` (default `127.0.0.1:8000`) — host-side mapping to avoid conflicts with other containers
|
||||
- `BOOTH_NAME` (optional)
|
||||
5. Deploy the stack.
|
||||
6. Open a console into the `booth` container and run once:
|
||||
```bash
|
||||
python init_db.py
|
||||
```
|
||||
7. Point your reverse proxy (Nginx Proxy Manager, Traefik, Caddy, etc.) at `http://host-ip:8000` on the chosen domain.
|
||||
7. Point your reverse proxy at the `HOST_PORT` you chose (e.g. `http://host-ip:8000`).
|
||||
8. Print the booth QR code pointing to `https://your-domain/request`.
|
||||
|
||||
### Portainer Notes
|
||||
|
|
|
|||
Reference in a new issue