File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,35 @@ PHOTOPRISM_PUBLIC='false'
6262PHOTOPRISM_DEBUG='false'
6363EOF
6464ln -sf /opt/photoprism/bin/photoprism /usr/local/bin/photoprism
65+
66+ mkdir -p /etc/photoprism/
67+ cat << EOF >/etc/photoprism/defaults.yml
68+ ConfigPath: "~/.config/photoprism"
69+ StoragePath: "/opt/photoprism/storage"
70+ OriginalsPath: "/opt/photoprism/photos/originals"
71+ ImportPath: "/media"
72+ AdminUser: "admin"
73+ AdminPassword: "changeme"
74+ AuthMode: "password"
75+ DatabaseDriver: "sqlite"
76+ HttpHost: "0.0.0.0"
77+ HttpPort: 2342
78+ HttpCompression: "gzip"
79+ DisableTLS: false
80+ DefaultTLS: true
81+ Experimental: false
82+ DisableWebDAV: false
83+ DisableSettings: false
84+ DisableTensorFlow: false
85+ DisableFaces: false
86+ DisableClassification: false
87+ DisableVectors: false
88+ DisableRaw: false
89+ RawPresets: false
90+ JpegQuality: 85
91+ DetectNSFW: false
92+ UploadNSFW: true
93+ EOF
6594msg_ok " Installed PhotoPrism"
6695
6796msg_info " Creating Service"
You can’t perform that action at this time.
0 commit comments