Frameworks
CodeIgniter .dockerignore
.dockerignore for frameworks projects
.dockerignore Content
# ==============================================================================
# Created by https://dockerignore.com/
# FRAMEWORK TEMPLATE for CodeIgniter
# Website: https://codeigniter.com/
# Repository: https://github.com/codeigniter4/CodeIgniter4
# ==============================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: FRAMEWORK TEMPLATE
# • PURPOSE: CodeIgniter-specific ignore patterns
# • OFFICIAL SOURCES: CodeIgniter community patterns and best practices
# • DESIGN PHILOSOPHY: Self-contained template with security patterns first
# • COMBINATION GUIDANCE: Use standalone - no need to combine with other templates
# • SECURITY CONSIDERATIONS: Includes security patterns for .env files and credentials
# • BEST PRACTICES: Review before use, test with your specific CodeIgniter setup
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Security & Sensitive Data
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Environment files contain sensitive API keys, database credentials,
# and other secrets that must not be included in Docker images
**/config/credentials.*
**/config/secrets.*
**/keys/
**/passwords/
**/private/
**/secrets/
.env
.env.*
*.auth
*.authz
*.password
*.secret
*.secrets
*.token
*_tokens
*password*
apikeys.*
appsettings.Development.json
appsettings.Local.json
appsettings.Staging.json
connectionstrings.config
credentials
database.ini
database.yml
dbconfig.xml
secrets.json
secrets.yaml
secrets.yml
tokens.*
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Build Artifacts & Distribution
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
.php-cs-fixer.dist.php
.phpcs.xml.dist
phpcs.xml.dist
phpunit.xml.dist
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Dependency Management & Package Cache
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/node_modules/
composer.phar
vendor/
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Development & Runtime Artifacts
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/application/cache/
**/application/logs/
**/writable/cache/
**/writable/logs/
**/writable/session/
**/writable/tmp/
**/writable/uploads/
**/writable/
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Testing & Quality Assurance
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/coverage/
phpunit.result.cache
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Tool-Specific Patterns
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/application/config/custom/
**/application/config/development/
**/application/config/local/
**/application/config/staging/
**/application/config/testing/
**/application/database/
**/application/session/
**/application/uploads/
**/backup/
**/backups/
**/database/
**/uploads/
**/user_guide/
*.db
*.sess
*.session
*.sqlite
*.sqlite3
*.sql
*.sql.gz
.php-cs-fixer.php
.phpcs.xml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
error_log
LICENSE
php-error.log
php-fpm-error.log
phpcs.xml
phpunit.xml
README.md