mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
add Caddy as reverse proxy
This commit is contained in:
parent
bec06107dc
commit
afce0130e1
2 changed files with 34 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ services:
|
|||
- 8080:8080
|
||||
environment:
|
||||
- DB_CONNECTION_STRING=postgresql://bbzw-horizon:<PW>@db/bbzw-horizon
|
||||
- CRYPTO_SUBSTITION_KEY=""
|
||||
|
||||
frontend:
|
||||
build:
|
||||
|
|
@ -42,3 +43,11 @@ services:
|
|||
restart: unless-stopped
|
||||
user: 0:0
|
||||
|
||||
caddy:
|
||||
image: caddy:2.10
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue