mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
fix: add volumes for Caddy to enable certificate persistence on self-hosted (#22273)
* Update docker-compose.hobby.yml * use named volume instead of volume mount we don't want to mount /etc from user's computers as 1. it's usually owned by root, 2. not portable to macos/windows use a named volume instead like we do with e.g. posthogres --------- Co-authored-by: Frank Hamand <frank@posthog.com>
This commit is contained in:
@@ -109,6 +109,8 @@ services:
|
||||
- '443:443'
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy-data:/data
|
||||
- caddy-config:/config
|
||||
depends_on:
|
||||
- web
|
||||
objectstorage:
|
||||
@@ -191,3 +193,5 @@ volumes:
|
||||
objectstorage:
|
||||
postgres-data:
|
||||
clickhouse-data:
|
||||
caddy-data:
|
||||
caddy-config:
|
||||
|
||||
Reference in New Issue
Block a user