Skip to content

fix: replace the hardcoded /var/www/html by named volume#2160

Merged
tdruez merged 5 commits into
mainfrom
2157-docker-compose
May 11, 2026
Merged

fix: replace the hardcoded /var/www/html by named volume#2160
tdruez merged 5 commits into
mainfrom
2157-docker-compose

Conversation

@tdruez
Copy link
Copy Markdown
Contributor

@tdruez tdruez commented May 11, 2026

Issues

Changes

Replace the hardcoded /var/www/html by a webroot named volume in docker-compose.yml.

In the Docker compose nginx service, the hardcoded /var/www/html was declared
as a volume which would cause issues when the /var/ was not available on the
local machine.

The Docker volume directory /var/lib/docker/volumes/scancodeio_webroot/_data can
now be used in place of /var/www/html as the certbot --webroot-path for
HTTP certificate management.

See also aboutcode-org/dejacode#157 and aboutcode-org/dejacode@74976c1 for the fix on the DejaCode side.

tdruez added 5 commits May 11, 2026 08:52
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
@tdruez tdruez merged commit 45338fa into main May 11, 2026
12 checks passed
@tdruez tdruez deleted the 2157-docker-compose branch May 11, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant