Commit Graph

9 Commits

Author SHA1 Message Date
throwaway 2e4a14cf16 fix instances passed through env 2024-02-17 15:21:42 -08:00
throwaway d20f0fcf88 fix numeric values being set as string 2024-02-17 15:21:42 -08:00
throwaway 2c95931d43 unescape forward slashes for urls in gen_config 2024-02-17 14:23:19 -08:00
throwaway b3515bc063 modify docker entrypoint 2024-02-09 01:59:25 -08:00
throwaway d465bb9cb8 trim values from env 2024-01-17 02:07:21 -08:00
throwaway 0cea51e5a3 generate 4get config from env variables 2024-01-08 23:14:27 -08:00
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