From 3ab263bd096346c7a9a7e1ef114794c2c3307c5e Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 1 Feb 2021 16:44:13 -0500 Subject: added mod_php and redis back --- Bastillefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Bastillefile (limited to 'Bastillefile') diff --git a/Bastillefile b/Bastillefile new file mode 100644 index 0000000..ee8724a --- /dev/null +++ b/Bastillefile @@ -0,0 +1,36 @@ +# 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 -- cgit v1.2.3