jgwehr / homelab-docker

Docker Compose for building a home lab
109 stars 15 forks source link

Give narrower context to Caddy volumes #27

Open jgwehr opened 2 years ago

jgwehr commented 2 years ago
  - ${CONFIGDIR}:/data # Optional, house for certs. Caddy adds its own /caddy/ directory
  - ${CONFIGDIR}:/config # Optional, JSON Config files. Caddy adds its own /caddy/ directory

This gives caddy access to everything in the config dir. Hopefully I can rearrange to something like:

${CONFIGDIR}/caddy:/data/caddy ${CONFIGDIR}/caddy:/config/caddy