summaryrefslogtreecommitdiff
path: root/Bastillefile
diff options
context:
space:
mode:
Diffstat (limited to 'Bastillefile')
-rw-r--r--Bastillefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/Bastillefile b/Bastillefile
index ee8724a..2846457 100644
--- a/Bastillefile
+++ b/Bastillefile
@@ -1,31 +1,17 @@
-# 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
-
+# Dirs and mounts
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
+
+# Users
CMD pw useradd -n www -m -u 507 && echo Created www user uid 507
+
+# Depends
PKG nextcloud-php74 apache24 mod_php74 mysql180-server redis
# Configuration
+OVERLAY usr
# Launch
SYSRC mysql_enable=YES