71fc8c53dc
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Hook scripts
Scripts in this directory will be picked up by the docker containers automatically. They can be used for automating setup specific to a developers use cases
- For all Nextcloud containers:
- before-install.sh
- after-install.sh
Example for before-start.sh
#!/bin/bash
echo "🤖 triggered hook before-start.sh"
env
export OC_PASS="mycustomuser"
occ user:add --password-from-env mycustomuser