add reverse proxy
This commit is contained in:
parent
eae9603587
commit
c03ddaf238
8
packages/reservation-platform/docker/caddy/Caddyfile
Normal file
8
packages/reservation-platform/docker/caddy/Caddyfile
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
acme_ca https://acme.zerossl.com/v2/DV90
|
||||
email torben.haack@mercedes-benz.com
|
||||
}
|
||||
|
||||
m040tbaraspi001.de040.corpintra.net {
|
||||
reverse_proxy myp-rp:3000
|
||||
}
|
@ -1,8 +1,17 @@
|
||||
services:
|
||||
app:
|
||||
image: myp-rp:latest
|
||||
caddy:
|
||||
image: caddy
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:3000"
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- ./caddy/data:/data
|
||||
- ./caddy/config:/config
|
||||
- ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
myp-rp:
|
||||
image: myp-rp:latest
|
||||
env_file: "/srv/myp-env/github.env"
|
||||
volumes:
|
||||
- /srv/MYP-DB:/usr/src/app/db
|
||||
|
Loading…
x
Reference in New Issue
Block a user