Commit Graph

50 Commits

Author SHA1 Message Date
30388f81cd fix(dockerfile): create certs directory
- create certs directory and set permissions for limited user
- required for certs and DHparams auto-generation

Closes #1
2021-09-13 02:43:28 -06:00
2e26095dbf update curl and apk-tools to address security issues 2021-07-27 23:18:17 -06:00
9563e2b847 chore(dockerfile): update email addresses 2021-07-27 21:15:05 -06:00
2b583ad7e0 struct(dockerfile): change internal labels
- add internal name label to allow finding containers
- use new domain in private labels
2021-07-27 15:10:49 -06:00
f1faf3fedf feature(generate-cert): allow create self-signed cert
- self-signed cert with a group-readable key and customizable hostname
2021-07-25 19:18:32 -06:00
4ded854631 feature(entrypoint): generate missing dhparam file if needed 2021-07-25 16:00:16 -06:00
8890e662b0 docs(dockerfile): update domain in labels 2021-07-25 15:42:18 -06:00
a4cebd5216 fix(dockerfile): remove quotes in maintainer tag 2021-07-25 15:39:36 -06:00
f6efb86f2a feature(dockerfile): specify NGINX version via build-arg
- build-arg for NGINX version
- add labels incorporating NGINX version and internal version
- add label to reference GIT commit for tagged release
2021-07-25 15:37:38 -06:00
1c608859e7 refactor(dockerfile): change healthcheck periods
- reduce interval and increase start-period
- format for clarity
2021-07-25 15:04:22 -06:00
7ea21e2cc4 feature(dockerfile): allow separate UID and GID during build 2021-07-25 15:03:24 -06:00
d045d098d9 docs(dockerfile): add deprecated maintainer tag
Harbor still uses this for informational display
2021-07-25 15:02:54 -06:00
287830ffe7 chore(dockerfile): bump internal and nginx version
- update nginx to current
- bump internal version in preparation for new features
2021-07-25 15:02:11 -06:00
Asif Bacchus
dc336de922 build(BASE): update NGINX base image version
- change internal version numbering to include NGINX version
- update NGINX internal version label
2021-04-04 12:31:44 -06:00
Asif Bacchus
5132e6f2e2 fix(DOCKERFILE): terminate with SIGQUIT for NGINX 2021-01-07 13:34:09 -07:00
Asif Bacchus
d293e7b3e9 fix(DOCKERFILE): properly remove entrypoint script from parent container 2021-01-07 13:25:57 -07:00
Asif Bacchus
67e9a699d9 refactor(DOCKERFILE): change UID 2021-01-07 11:25:12 -07:00
Asif Bacchus
956acfc9a1 feature(DOCKERFILE): remove parent container entrypoint script 2021-01-07 11:07:49 -07:00
Asif Bacchus
2125dcb939 fix(DOCKERFILE): fix user creation, add home directory too 2021-01-07 10:45:40 -07:00
Asif Bacchus
0609c680e0 refactor(NGINX): update letsencrypt integration
- actually create letsencrypt challenge directory
- point default server-blocks to proper LE directory
- fix access and error logging for LE requests
- update server-block configuration comment headers
2021-01-07 10:16:24 -07:00
Asif Bacchus
4901116443 fix(DOCKERFILE): missing backslash in run cmd 2021-01-07 10:10:35 -07:00
Asif Bacchus
c08d3f1c37 chore(DOCKERFILE): bump internal version number 2021-01-07 10:09:43 -07:00
Asif Bacchus
715ae9cd38 feature(DOCKERFILE): set up nginx to run as non-root
- add libcap
- use setcap (via libcap) to allow nginx to bind to ports <1024
- set permissions on nginx directories
- change nginx pid location to /etc/nginx
2021-01-07 10:06:17 -07:00
Asif Bacchus
53ea4c9dc1 revert(DOCKERFILE): remove nano, update internal version 2021-01-07 08:58:08 -07:00
Asif Bacchus
394f1fdccd fix(DOCKERFILE): fix errant reference to old user variable 2021-01-07 07:14:01 -07:00
Asif Bacchus
23da6ae576 docs(DOCKERFILE): fix username comment 2021-01-07 07:05:20 -07:00
Asif Bacchus
294c31d19e feature(DOCKERFILE): run as limited user
- remove ability to specify username
- hardcode username to www-docker
- run as www-docker
2021-01-07 07:03:57 -07:00
Asif Bacchus
5f07c685ad feature(DOCKERFILE): add nano, stop using git
- add nano and nano configuration file
- download and untar errorpages instead of installing git
2021-01-07 06:59:53 -07:00
Asif Bacchus
c683856959 fix(NGINX): fix healthcheck URL 2021-01-05 18:24:58 -07:00
Asif Bacchus
530b4ce476 refactor(LABELS): replace label schema with OCI 2021-01-05 18:01:53 -07:00
Asif Bacchus
f54bed8817 build(VERSION): align version with NGINX versions
- add separate label for internal version tracking
2021-01-05 17:36:04 -07:00
Asif Bacchus
e1bce5aaf6 feature(CONFIG): add healthcheck 2021-01-05 17:35:03 -07:00
Asif Bacchus
2c1712700c move version label for faster build, bump version 2020-03-10 23:20:54 -06:00
Asif Bacchus
d7f24405e1 make version explicitly 2.0 2019-11-18 05:04:08 -07:00
Asif Bacchus
f0fc3364af bump version number 2019-11-18 01:07:21 -07:00
Asif Bacchus
935ae0d150 add dedicated user for better permission control 2019-11-11 00:04:15 -07:00
Asif Bacchus
c9c4becf14 update permissions 2019-11-09 20:01:29 -07:00
Asif Bacchus
cea18e853c update cmd label 2019-10-18 02:07:14 -06:00
Asif Bacchus
d65e6ac266 minor version bump 2019-10-18 01:57:20 -06:00
Asif Bacchus
bfdb85b384 add option to turn on access log 2019-10-18 01:53:20 -06:00
Asif Bacchus
d6e49f4d09 add timezone to params, default UTC in container 2019-10-18 01:32:48 -06:00
Asif Bacchus
d8b046d110 set version label to 1.0 2019-10-17 23:31:22 -06:00
Asif Bacchus
a555ea3bf4 move error pages out of webroot 2019-10-17 23:27:50 -06:00
Asif Bacchus
39fa12eab6 add default port env vars 2019-10-17 21:26:18 -06:00
Asif Bacchus
d2100c0ae0 move LE challenge root outside webroot 2019-10-17 01:34:52 -06:00
Asif Bacchus
2d2548172a copy default webroot test pages 2019-10-17 01:01:20 -06:00
Asif Bacchus
0474fa840c update labels 2019-10-17 01:01:09 -06:00
Asif Bacchus
cc1fe51539 add default env vars 2019-10-17 00:13:51 -06:00
Asif Bacchus
32b8ac65a7 clone fun errorpages 2019-10-17 00:13:42 -06:00
Asif Bacchus
141b932a1c initial commit - skeleton setup 2019-10-16 23:44:47 -06:00