summaryrefslogtreecommitdiff
path: root/docker/docker-entrypoint.sh
diff options
context:
space:
mode:
authorthrowaway <developerthrowaway@protonmail.com>2024-01-08 23:14:27 -0800
committerthrowaway <developerthrowaway@protonmail.com>2024-01-08 23:14:27 -0800
commit0cea51e5a3aedd9faefc6029d6d0b28fe86c3db1 (patch)
tree538cafd857e288f0f008a23fe54c06bdf99bec55 /docker/docker-entrypoint.sh
parented5a992354fc07e8ca73ef4865f6664ff24d504c (diff)
generate 4get config from env variables
Diffstat (limited to 'docker/docker-entrypoint.sh')
-rwxr-xr-xdocker/docker-entrypoint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index 89bd7cf..bbb8229 100755
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -14,6 +14,10 @@ if [ ! -f /etc/4get/certs/cert.pem ] || [ ! -f /etc/4get/certs/chain.pem ] || [
mv /etc/apache2/httpd.conf_temp /etc/apache2/httpd.conf
fi
+
+php82 ./docker/gen_config.php
+
+
echo "4get is running"
exec httpd -DFOREGROUND