blob: 2846457362598349902ee9e43936d3d800f0aecc (
plain) (
tree)
|
|
# 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
SYSRC redis_enable=YES
SYSRC apache24_enable=YES
#SERVICE mysql start
#SERVICE redis start
SERVICE apache24 start
|