Files
Julius Härtl 71fc8c53dc enh: cleanup config handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-02 19:30:34 +01:00
..
2023-12-02 19:30:34 +01:00

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