compose.yaml (12 lines of code) (raw):
services:
attic_lua_csp:
image: attic_lua_csp
build: .
ports:
- "8000:80"
volumes:
# Pick up the closer.lua script etc.
# (e.g. set this to a checkout of infrastructure-p6/modules/closer_cgi/files)
- ${VAR_DYN:-.}:/var/www/dyn
# Needs to match xxx.apache.org or closer.lua reverts to default template
- ${VAR_HTML:-./www}:/var/www/site.apache.org
- ${VAR_LOG:-./log}:/var/log/apache2
environment:
# Pass in site name
- VAR_NAME=${VAR_NAME:-localhost}