Docker: Upgrade Caddy
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
bd9e810416
commit
2a07add90f
|
@ -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: .
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
* {
|
||||
tls off
|
||||
gzip
|
||||
|
||||
proxy / photoprism:2342 {
|
||||
# Test broken websocket connection.
|
||||
# websocket
|
||||
transparent
|
||||
}
|
||||
}
|
2
docker/development/caddy/.gitignore
vendored
Normal file
2
docker/development/caddy/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.crt
|
||||
*.key
|
3
docker/development/caddy/Caddyfile
Normal file
3
docker/development/caddy/Caddyfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
*, localhost {
|
||||
reverse_proxy photoprism:2342
|
||||
}
|
Loading…
Reference in New Issue
Block a user