diff options
Diffstat (limited to 'stacks')
| -rw-r--r-- | stacks/cgit/.env.template | 1 | ||||
| -rw-r--r-- | stacks/cgit/compose.yml | 4 | ||||
| -rw-r--r-- | stacks/edge/compose.yml | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/stacks/cgit/.env.template b/stacks/cgit/.env.template index 94ec0ed..663c8c5 100644 --- a/stacks/cgit/.env.template +++ b/stacks/cgit/.env.template @@ -14,3 +14,4 @@ _NET= _CSS_FILE= _CONFIG_FILE= _GIT_ROOT= +_IMPORTS= diff --git a/stacks/cgit/compose.yml b/stacks/cgit/compose.yml index e3c7ab1..cf21261 100644 --- a/stacks/cgit/compose.yml +++ b/stacks/cgit/compose.yml @@ -19,8 +19,6 @@ services: volumes: # TODO: Make these cgit-docker builtins. - ${_CSS_FILE:-./opt/cgit.css}:/srv/www/htdocs/cgit/cgit.css - - ${_SITE_HEADER:-./opt/header.html}:/opt/header.html - - ${_SITE_FOOTER:-./opt/footer.html}:/opt/footer.html - - ${_ROOT_README:-./opt/README.txt}:/opt/README.txt - ${_CONFIG_FILE:-./etc/cgitrc}:/etc/cgitrc + - ${_IMPORTS:-./opt/}:/opt - ${_GIT_ROOT:-./srv/git/}:/srv/git # mount the directory you use for your git server diff --git a/stacks/edge/compose.yml b/stacks/edge/compose.yml index 75baf0d..a1e71f4 100644 --- a/stacks/edge/compose.yml +++ b/stacks/edge/compose.yml @@ -23,6 +23,8 @@ services: - .env networks: - net + cap_add: + - NET_ADMIN # Allow Caddy to redefine memory limits based on host. ports: - 80:80 - 443:443 @@ -32,3 +34,4 @@ services: - ${_WEBROOT:-.srv/}:/srv - data:/data - config:/config + - /var/log/http/:/var/log/http # Bind for f2b. |
