docker run -it --rm -v "$PWD":/app composer install
An optional config-local.json
will be merged if available.
To add a header for an event:
{
"pages": {
"/": {
"content": [
{
"size": 12,
"centered": true,
"cta": true,
"image": "/img/angel.svg",
"content": "Hilf uns bei $veranstaltung und werde Engel!",
"button": {
"text": "$veranstaltung Engelsystem",
"link": "https://engelsystem.de/$veranstaltung",
"angel": true
}
}
]
}
}
}
Include a file from the content directory:
{
"pages": {
"/legal": {
"language": "en",
"languages": { "de": "/impressum" },
"title": "Legal",
"content": [
{
"title": "Legal",
"file": "legal.html"
}
]
}
}
}
External navigation link:
{
"links": {
"de": {
"Foo": "https://example.com/bar"
}
}
}
docker run -it --rm \
-v "$PWD":/var/www/ \
-v "$PWD/public":/var/www/html/ \
-p 8080:80 \
--name engelsystem.de \
php:apache \
sh -c 'a2enmod rewrite && docker-php-entrypoint apache2-foreground'
The page can now be opened by visiting localhost:8080.
When the container exits with
AH00170: caught SIGWINCH, shutting down gracefully
you have resized your terminal. That triggers the SIGWINCH signal which gets relayed to apache2 and there interpreted as a shutdown command.