Docker: Upgrade Caddy

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-08-11 15:58:31 +02:00
parent bd9e810416
commit 2a07add90f
4 changed files with 15 additions and 18 deletions

View File

@ -1,14 +1,16 @@
version: '3.5'
services:
caddy:
image: abiosoft/caddy:1.0.3-no-stats
depends_on:
- photoprism
ports:
- 2015:2015
volumes:
- ./docker/development/Caddyfile:/etc/Caddyfile
# caddy:
# image: caddy:2
# depends_on:
# - photoprism
# ports:
# - "80:80"
# - "443:443"
# volumes:
# - ./docker/development/caddy:/data/caddy/pki/authorities/local
# - ./docker/development/caddy/Caddyfile:/etc/caddy/Caddyfile
photoprism:
build: .

View File

@ -1,10 +0,0 @@
* {
tls off
gzip
proxy / photoprism:2342 {
# Test broken websocket connection.
# websocket
transparent
}
}

2
docker/development/caddy/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.crt
*.key

View File

@ -0,0 +1,3 @@
*, localhost {
reverse_proxy photoprism:2342
}