# network-bind - to allow acting as an HTTP server and client
@ -22,7 +26,8 @@ apps:
# home - not strictly necessary but can be convenient for some features to have read/write access to files outside the snap data folders, notably
# - to index files in Intranet mode
# - for index, dump, vocabulary import/export features
plugs:[network-bind, desktop, home]
# x11 - needed by wkhtmltopdf to generate Snapshots using WebKit engine - not necessary when Snapshots feature is not used
plugs:[network-bind, desktop, home, x11]
passwd:# set the YaCy administrator password
environment:
YACY_DATA_PATH:"$SNAP_USER_DATA/DATA"
@ -35,7 +40,9 @@ parts:
yacy-search:
# Additional packages
# curl : needed by the passwd.sh script to call a YaCy API when the server is running
stage-packages:[curl]
# wkhtmltopdf : needed by the snapshot generation feature.
# Conversion from PDF snapshots to images is done using the pure java pdfbox library, as imagemagick is more difficult to propertly embed within a Snap