Sign inSign up

parser/parser3-httpd

By parser

•Updated about 1 year ago

Parser3 HTTP Server Application

Image
3

785

parser/parser3-httpd repository overview

⁠Parser3 HTTP Server Application

Parser3 HTTP Server Application is based on built-in HTTP server.

⁠Starting parser3 http server

$ docker run -p 8080:9000 parser/parser3-httpd

...where -p 8080:9000 is a {host}:{container} port mapping. See the Docker Container networking documentation⁠.

$ docker run -p 8080:9000 --mount type=bind,source=/path/to/your/site,target=/app parser/parser3-httpd

...where /path/to/your/site is directory containing the site/application you want to run.

⁠Default structure in the container

⁠/app

Application directory.

⁠/app/cgi

Parser log directory. You can change it by setting CGI_PARSER_LOG environment variable,

$ docker run --env CGI_PARSER_LOG=/path/to/dir parser/parser3-httpd
⁠/app/www

It'a a $request:document-root for the Parser. Parser3 will start from this directory. You can change it by setting workdir for the container:

$ docker run -w /path/to/dir parser/parser3-httpd

⁠Environment variables

CGI_PARSER_LOG=/app/cgi/parser.log

⁠Parser config and httpd.p

Parser uses /usr/local/parser3/auto.p with default configuration which includes base httpd class. You can place httpd.p in you $request:document-root with your implementation. See documentation⁠.

Parser⁠ — official website.

Documentation⁠ — Parser3 documentation.

Docker Hub⁠ — Docker Hub repository.

Tag summary

Content type

Image

Digest

sha256:16018aac6…

Size

13.9 MB

Last updated

about 1 year ago

docker pull parser/parser3-httpd