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>
This commit is contained in:
throwaway
2023-08-23 18:31:08 -05:00
committed by throwaway
parent 9812155838
commit 40e058a32a
4 changed files with 135 additions and 0 deletions

4
docker/docker-entrypoint.sh Executable file
View File

@ -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