Use a different set of default directories for Docker images

This commit is contained in:
fox.cpp 2021-03-07 16:38:25 +03:00
parent bd62dca31e
commit c2099391db
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
4 changed files with 56 additions and 42 deletions

10
directories_docker.go Normal file
View file

@ -0,0 +1,10 @@
//+build docker
package maddy
var (
ConfigDirectory = "/data"
DefaultStateDirectory = "/data"
DefaultRuntimeDirectory = "/tmp"
DefaultLibexecDirectory = "/usr/lib/maddy"
)