1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 08:26:03 +00:00
webvirtcloud/.dockerignore
catborise d0b08db654 fix(docker): the settings.py kept next to the compose file stays out of the image
The README has Docker users keep their own settings.py next to the compose
file and mount it. .dockerignore left out only webvirtcloud/settings.py,
so the next docker compose build copied that file, with its LDAP password
or SECRET_KEY, into an image layer. It is now ignored by Docker and git,
and CI plants it among the files that must not reach the image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-09 12:00:55 +03:00

52 lines
830 B
Text

# What the image does not need. Runtime data and secrets of a used checkout
# must never enter it (CI plants sentinels to check).
# runtime data, secrets and local settings
data
backups
**/*.sqlite3*
**/*.log
**/*.log.*
**/*.bak
**/*~
**/*.swp
**/*.swo
**/console/cert.pem*
**/dhcpd.*
webvirtcloud/settings.py
# the copy the README has Docker users keep next to the compose file
settings.py
**/staticfiles
# virtualenvs, caches and editor files
**/venv*
**/.venv*
**/env*
**/.env*
**/__pycache__
**/*.py[cod]
**/.ruff_cache
**/.pytest_cache
**/.coverage*
**/htmlcov
**/.idea
**/.vscode
**/.DS_Store
**/.vagrant
# repository, CI, docs and the other ways to install
.git
.gitignore
.github
.hadolint.yaml
.dockerignore
Dockerfile
docker-compose*.yml
_config.yml
pyproject.toml
*.md
doc
dev
Vagrantfile
install.sh
webvirtcloud.sh