docker compose own reverse proxy

This commit is contained in:
Martin Biolek 2023-02-17 21:04:27 +01:00
parent 91f6d388eb
commit 140f794b43
2 changed files with 58 additions and 1 deletions

View file

@ -18,7 +18,7 @@
- copy the `.env.example` file to `.env` and change the database password
### service bring-up and running
### run service bring-up and running
```
$ sudo groupadd docker
$ sudo usermod -aG docker ${USER}
@ -28,6 +28,15 @@ $ docker volume create caddy_data
$ docker compose up
```
### run boltcard server with own reverse proxy
If you already have reverse proxy in your enviroment which controls/terminates TLS connections, Boltcard server wont be ready to use, because of existence of own reverse proxy (Caddy). Caddy wont be abble to obtain TLS certificate for your domain name. Run different docker-compose, that will start Boltcard server without Caddy and your reverse proxy will handle TLS.
```
// add -d option for detached mode
$ docker-compose up -f docker-compose-own-reverse-proxy.yml
```
### stop docker
```
$ docker compose down