Commit Graph

3 Commits

Author SHA1 Message Date
throwaway b7cc53c156 allow docker container to run without ssl certificates (#14)
if certificate files are not mounted to /etc/4get/certs then remove ssl virtual host in /etc/apache2/httpd.conf and listen on port 80
also change references "luuul/4get:1.0.0" to "luuul/4get:latest"

Reviewed-on: #14
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-09-22 16:20:39 -05:00
throwaway 232995bf0d add set -e and use exec to replace parent process to handle docker signals (#6)
use `exec` to turn httpd into parent process. This is important for docker signalling such as `docker stop ${container_id}`
add `set -e` which stops the entrypoint script if any command exits with a non-zero exit code.

Reviewed-on: #6
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-08-24 20:50:05 -05:00
throwaway 40e058a32a Add Dockerfile and docker entrypoint (#5)
Add Dockerfile and docker entrypoint

Co-authored-by: lolcat <lolcat@no-reply@lolcat.ca>
Reviewed-on: #5
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-08-23 18:31:08 -05:00