summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/docker-entrypoint.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-09Docker: show welcome page on port 80 when entrypoint.d is empty.Liam Crilly1-32/+35
The entrypoint script now performs a default configuration when no useful files are found in /docker-entrypoint.d/ The default configuration serves a welcome page in response to all requests, using Markdown unless text/html is sent in the Accept header. This provides a useful 'hello world' experience when running a Unit container for the first time.
2023-05-09Docker: add support for JavaScript modules.Liam Crilly1-1/+7
2023-04-12Docker: made curl fail with non-zero exit code on server errors.Konstantin Pavlov1-1/+1
2023-02-13Docker: limited the waiting time for control socket creation.Konstantin Pavlov1-2/+9
While at it, fixed a typo.
2022-12-13Docker: limited the waiting time for control socket removal.Konstantin Pavlov1-1/+15
Fixes https://github.com/nginx/unit/issues/728 Refs https://github.com/nginx/unit/issues/718
2022-10-27Fixed path for sed(1).Alejandro Colomar1-1/+1
Some distros provide it in /bin/sed and others in both /bin/sed and /usr/bin/sed. Use the more available one. Reported-by: Konstantin Pavlov <thresh@nginx.com> Fixes: ac64ffde5718 "Improved readability of <docker-entrypoint.sh>." Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-10-26Improved readability of <docker-entrypoint.sh>.javad mnjd1-5/+5
Cc: Konstantin Pavlov <thresh@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
2021-11-30Docker: respect the binary from CMD in the entrypoint.Konstantin Pavlov1-1/+1
2020-07-13Docker: run entrypoint scripts for unitd-debug as well.Konstantin Pavlov1-1/+1
2019-10-03Docker: added an entrypoint to make configuration easier.Konstantin Pavlov1-0/+71
Docker images now accept shell scripts, json files and certificate chain bundles to provide configuration on a container start by placing them into /docker-entrypoint.d/ directory.