summaryrefslogtreecommitdiff
path: root/Bastillefile
blob: 2846457362598349902ee9e43936d3d800f0aecc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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