An open API service indexing awesome lists of open source software.

https://github.com/developeregrem/fewohbee-web

nginx-based web image for fewohbee-dockerized
https://github.com/developeregrem/fewohbee-web

Last synced: 7 days ago
JSON representation

nginx-based web image for fewohbee-dockerized

Awesome Lists containing this project

README

          

# fewohbee-web

This repository contains the nginx-based web image for the
[fewohbee guesthouse administration tool](https://github.com/developeregrem/fewohbee).

## Image

The published image is:

`developeregrem/fewohbee-web:latest`

## Runtime behaviour

- Standard mode expects TLS certificates in `/certs` and serves HTTPS on port `443`.
- Reverse proxy mode is enabled with `REVERSE_PROXY=true` and serves plain HTTP on port `80`.
- `HOST_NAME` is rendered into the active `server_name` directive at container start.

## Local build

```sh
docker build -t fewohbee-web:local .
```

## Files

- `site.conf` and `site.conf.no-ssl` define the nginx vhosts
- `snippets/` contains shared include fragments
- `site-enabled-http/` and `site-enabled-https/` contain app-specific includes
- `templates/server_name.template` is rendered at container start