aboutsummaryrefslogtreecommitdiff
path: root/docker/nextcloud/entrypoint.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-07-05 22:54:47 +0200
committerAlex Auvolat <alex@adnab.me>2020-07-05 22:55:00 +0200
commitc344dacb65e967bef7a06e34adb02494d98cde77 (patch)
tree6da8818681683ceaaa6271f4023c2371e87a4b3f /docker/nextcloud/entrypoint.sh
parent5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6 (diff)
downloadinfrastructure-c344dacb65e967bef7a06e34adb02494d98cde77.tar.gz
infrastructure-c344dacb65e967bef7a06e34adb02494d98cde77.zip
Add garage and nextcloud configuration
Diffstat (limited to 'docker/nextcloud/entrypoint.sh')
-rwxr-xr-xdocker/nextcloud/entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/nextcloud/entrypoint.sh b/docker/nextcloud/entrypoint.sh
new file mode 100755
index 0000000..72b4f94
--- /dev/null
+++ b/docker/nextcloud/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -xe
+
+chown www-data:www-data /var/www/html/config/config.php
+touch /var/www/html/data/.ocdata
+
+exec apachectl -DFOREGROUND