photoprism/docker-compose.proxy.yml

21 lines
470 B
YAML
Raw Normal View History

2021-09-23 23:46:17 +02:00
version: '3.5'
# HTTP / HTTPS Reverse Proxy Servers (for developers only)
2021-09-23 23:46:17 +02:00
services:
## Caddy 2
2021-09-23 23:46:17 +02:00
caddy:
image: caddy:2
depends_on:
- photoprism
ports:
- "80:80" # HTTP port (host:container)
- "443:443" # HTTPS port (host:container)
2021-09-23 23:46:17 +02:00
volumes:
- ./docker/development/caddy:/data/caddy/pki/authorities/local
- ./docker/development/caddy/Caddyfile:/etc/caddy/Caddyfile
networks:
default:
external:
name: shared