14 lines
564 B
Markdown
14 lines
564 B
Markdown
# Service[reverse]: Reverse proxy for SSL and routing
|
|
|
|
## Usage
|
|
### Setup
|
|
1. Set `ADMIN_EMAIL` in `.env`
|
|
2. Run `docker compose up -d`
|
|
3. ...
|
|
4. Profit!
|
|
|
|
### Services
|
|
1. In the docker-compose file, add the `VIRTUAL_HOST` environment to each web-facing service (ports 80 and 433).
|
|
2. In the docker-compose file, add the `LETSENCRYPT_HOST` environment to each service needing a certificate or web-exposed.
|
|
3. If the web service is in a port different than `80` or `433`, set `VIRTUAL_PORT` and `VIRTUAL_PROTO`(http/https) in the environment section of the service.
|
|
|