A ddb jsonnet package (djp).
Apache Http Server djp package.
ddb.yml
cookiecutter:
templates:
- template: gh:inetum-orleans/djp-httpd
extra_context:
httpd_version: "2.4"
docker-compose.yml.jsonnet
ddb.Compose(
ddb.with(
import '.docker/httpd/djp.libjsonnet',
params={domain: ddb.domain, vhost: ['/.docker/httpd/vhost.conf']}
)
)
name | type | description |
---|---|---|
domain | string | Description of first parameter |
vhost | string[] | Path to VirtualHost configuration files |
You can enable additional modules inside Dockerfile.jinja
.
RUN sed -i '/LoadModule proxy_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
RUN sed -i '/LoadModule proxy_http_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
Please check jsonnet feature to understand how to include a djp package inside a ddb project.
Looking for other djp packages ? Check github repositories starting with djp-
.