mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-02-19 23:03:50 +08:00
Add env file loading
This commit is contained in:
parent
2930cf03b8
commit
6bfe392a35
@ -1,6 +1,12 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
# load env file if it exists
|
||||
if [[ -f "/config/env" ]]; then
|
||||
# shellcheck source=/dev/null
|
||||
source /config/env
|
||||
fi
|
||||
|
||||
# create folders
|
||||
mkdir -p \
|
||||
/app/www/public \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user