diff options
author | throwaway <developerthrowaway@protonmail.com> | 2023-08-23 18:31:08 -0500 |
---|---|---|
committer | throwaway <throwaway@no-reply@lolcat.ca> | 2023-08-23 18:31:08 -0500 |
commit | 40e058a32a6e73e0afab55889302956ebf12d459 (patch) | |
tree | 780143773339ff0e2b4dbf60114975bbe6317b34 /docker | |
parent | 981215583876eb4e149952b029769e16ef9cc7b0 (diff) |
Add Dockerfile and docker entrypoint (#5)
Add Dockerfile and docker entrypoint
Co-authored-by: lolcat <lolcat@no-reply@lolcat.ca>
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/5
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/docker-entrypoint.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh new file mode 100755 index 0000000..469f810 --- /dev/null +++ b/docker/docker-entrypoint.sh @@ -0,0 +1,4 @@ +#!/bin/sh +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 +httpd -DFOREGROUND |