summaryrefslogblamecommitdiff
path: root/Bastillefile
blob: ee8724a6f5a26da1bdd976abb3f7384b2ab2605e (plain) (tree)



































                                                                                                                                                                                                                             
# Macon Nextcloud Deployment
#
# Apps:
# - News
# - Talk
# - Passwords
# - Photos
# - Contacts
# - Calendar
# - Notes

# PHP 7.3 and required modules
#PKG php73 php73-ctype php73-curl php73-dom php73-gd php73-hash php73-iconv php73-json php73-xml php73-mbstring php73-openssl php73-posix php73-session php73-simplexml php73-xmlreader php73-xmlwriter php73-zip php73-zlib 

# Recommended packages
# - fileinfo: enhances file analysis performance
# - bz2: required for app extraction
# - intl: translation and non-ASCII sorting
#PKG php73-fileinfo php73-bz2 php73-intl

CMD mkdir -p /usr/local/www/nextcloud 
CMD mkdir -p /media/nextcloud_data 
FSTAB /zroot/nextcloud /usr/local/www/nextcloud nullfs rw 0 0
FSTAB /zroot/nextcloud_data /media/nextcloud_data nullfs rw 0 0
CMD pw useradd -n www -m -u 507 && echo Created www user uid 507
PKG nextcloud-php74 apache24 mod_php74 mysql180-server redis

# Configuration

# Launch
SYSRC mysql_enable=YES
SYSRC redis_enable=YES
SYSRC apache24_enable=YES
#SERVICE mysql start
#SERVICE redis start
SERVICE apache24 start