summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-08-27 01:51:37 -0400
committerlolcat <will@lolcat.ca>2023-08-27 01:51:37 -0400
commitddfb957b40c7cb1fd3975f6af5804379e8b5e6f2 (patch)
treeb0a6ac5b89d5fcf54d85504baf49388669a2f439 /docker
parent1fd4c2de6d2552f4619c6e67aac60bc635465cd1 (diff)
parent232995bf0d4274f904044e6dd0dc8098757b4be3 (diff)
Merge branch 'master' of https://git.lolcat.ca/lolcat/4get
what am i doing
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/docker-entrypoint.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
new file mode 100755
index 0000000..939e59b
--- /dev/null
+++ b/docker/docker-entrypoint.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+sed -i "s/ServerName.*/ServerName ${FOURGET_SERVER_NAME}/g" /etc/apache2/httpd.conf
+sed -i "s/ServerAdmin.*/ServerAdmin ${FOURGET_SERVER_ADMIN_EMAIL}/g" /etc/apache2/httpd.conf
+exec httpd -DFOREGROUND