Skip to content

Commit f0c6fe4

Browse files
authored
Merge pull request #3 from kariricode/develop
Develop
2 parents f7f1911 + cb69a19 commit f0c6fe4

24 files changed

Lines changed: 5147 additions & 810 deletions

.dockerignore

Lines changed: 78 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,33 @@
33
# Reduces build context size and speeds up builds
44
# ============================================
55

6+
# ---------------------------
67
# Version Control
8+
# ---------------------------
79
.git
810
.github/
911
.gitignore
1012
.gitattributes
1113
.gitmodules
1214

13-
# Environment & Configuration
15+
# ---------------------------
16+
# Environment & Secrets
17+
# ---------------------------
1418
.env
1519
.env.*
1620
!.env.example
1721
*.env.local
1822
*.env.*.local
23+
certs/
24+
ssl/*.pem
25+
ssl/*.crt
26+
ssl/*.key
27+
ssl/*.csr
28+
!ssl/*.example
1929

30+
# ---------------------------
2031
# IDE & Editors
32+
# ---------------------------
2133
.vscode/
2234
.idea/
2335
*.swp
@@ -34,7 +46,9 @@ Thumbs.db
3446
.phpstorm.meta.php
3547
.phpunit.result.cache
3648

49+
# ---------------------------
3750
# Documentation
51+
# ---------------------------
3852
*.md
3953
README*
4054
CHANGELOG*
@@ -49,7 +63,9 @@ UPGRADE
4963
docs/
5064
documentation/
5165

66+
# ---------------------------
5267
# Build Scripts & CI/CD
68+
# ---------------------------
5369
build.sh
5470
build-from-env.sh
5571
diagnose.sh
@@ -61,21 +77,27 @@ Makefile
6177
bitbucket-pipelines.yml
6278
azure-pipelines.yml
6379

64-
# Docker Files (prevent recursion)
80+
# ---------------------------
81+
# Docker / Compose
82+
# ---------------------------
6583
Dockerfile*
6684
docker-compose*.yml
6785
docker-compose*.yaml
6886
.dockerignore
69-
Dockerfile.funcional
70-
# Application Runtime (if not needed in image)
71-
var/cache/*
72-
var/log/*
73-
var/sessions/*
87+
88+
# ---------------------------
89+
# Dependencies / Runtime Cache
90+
# ---------------------------
7491
vendor/
7592
node_modules/
7693
bower_components/
94+
var/cache/*
95+
var/log/*
96+
var/sessions/*
7797

78-
# Testing
98+
# ---------------------------
99+
# Testing / Coverage
100+
# ---------------------------
79101
tests/
80102
phpunit.xml*
81103
.phpunit/
@@ -85,7 +107,9 @@ codeception.yml
85107
coverage/
86108
.nyc_output/
87109

110+
# ---------------------------
88111
# Temporary Files
112+
# ---------------------------
89113
*.log
90114
*.tmp
91115
*.temp
@@ -98,61 +122,55 @@ coverage/
98122
*.rej
99123
*.patch
100124

101-
# OS Files
102-
.DS_Store
103-
.DS_Store?
104-
._*
105-
.Spotlight-V100
106-
.Trashes
107-
ehthumbs.db
108-
Desktop.ini
109-
110-
111-
# Package Managers Artifacts
125+
# ---------------------------
126+
# Package Managers
127+
# ---------------------------
112128
composer.phar
113129
package-lock.json
114130
yarn.lock
115131
pnpm-lock.yaml
116132
yarn-error.log
117133
npm-debug.log*
118134
yarn-debug.log*
119-
yarn-error.log*
120135
lerna-debug.log*
121136

122-
123-
# Archive Files
137+
# ---------------------------
138+
# Archives
139+
# ---------------------------
124140
*.tar
125141
*.tar.gz
126142
*.tgz
127143
*.zip
128144
*.rar
129145
*.7z
130146

131-
# Database
147+
# ---------------------------
148+
# Database dumps
149+
# ---------------------------
132150
*.sql
133151
*.sqlite
134152
*.db
135153
data/
136154
database/
137155

138-
# Deployment
156+
# ---------------------------
157+
# Deployment artifacts
158+
# ---------------------------
139159
deployment/
140160
deploy/
141161
.deploy*/
142162

143-
# Monitoring & Analytics
163+
# ---------------------------
164+
# Monitoring / Observability
165+
# ---------------------------
166+
# ignore raw configs if you ship them by volume only
144167
monitoring/
145168
grafana/
146169
prometheus/
147170

148-
# SSL Certificates (keep templates only)
149-
ssl/*.pem
150-
ssl/*.crt
151-
ssl/*.key
152-
ssl/*.csr
153-
!ssl/*.example
154-
155-
# Application specific (customize as needed)
171+
# ---------------------------
172+
# Application-specific
173+
# ---------------------------
156174
app/cache/
157175
app/logs/
158176
app/sessions/
@@ -162,10 +180,35 @@ public/uploads/
162180
public/storage/
163181
public/hot
164182

165-
# Keep these files/folders (explicitly include)
183+
# ---------------------------
184+
# Keep these (explicitly include)
185+
# ---------------------------
166186
!nginx/
167187
!php/
168188
!redis/
169189
!supervisor/
170190
!scripts/
171-
!app/public/index.php
191+
!app/public/index.php
192+
# Example configs (mounted via volumes only, never baked in)
193+
example/config/
194+
example/config/**
195+
# Root-level runtime logs/artifacts (avoid sending to build context)
196+
logs/
197+
logs/**
198+
*.log,
199+
*.sql,
200+
*.sqlite
201+
# Local developer shells / env managers
202+
.envrc
203+
.direnv/
204+
.direnv/**
205+
206+
# Language/tool caches (speed up context)
207+
.composer/
208+
.cache/
209+
.npm/
210+
.node-gyp/
211+
212+
# OS/user junk (extras)
213+
Desktop.ini
214+
Icon?

0 commit comments

Comments
 (0)