Skip to content

Commit e984a31

Browse files
committed
adjust the structure, optimizations for production
1 parent 134e484 commit e984a31

File tree

14 files changed

+12
-442
lines changed

14 files changed

+12
-442
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.idea
22
.env
3+
.DS_Store

example-app/.DS_Store

-8 KB
Binary file not shown.

example-app/.dockerignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
**/.env
1010
**/.git
1111
**/.gitignore
12+
**/.gitattributes
1213
**/.project
1314
**/.settings
1415
**/.toolstarget
@@ -31,5 +32,15 @@
3132
**/secrets.dev.yaml
3233
**/values.dev.yaml
3334
**/vendor
35+
**/.DS_Store
36+
.editorconfig
37+
.env.example
3438
LICENSE
3539
README.md
40+
41+
# Ignore development-related files and directories
42+
# For development environment, we will use mount bind to mount the source code to the container
43+
# So we don't need to copy the source code to the container for development
44+
tests/
45+
phpunit.xml
46+
phpunit.xml.dist

example-app/compose.yaml

Lines changed: 0 additions & 49 deletions
This file was deleted.

production/.DS_Store

-6 KB
Binary file not shown.

production/.dockerignore

Lines changed: 0 additions & 35 deletions
This file was deleted.

production/.env.example

Lines changed: 0 additions & 23 deletions
This file was deleted.

production/compose.yaml

Lines changed: 0 additions & 80 deletions
This file was deleted.

production/db-password.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

production/nginx/nginx.conf

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)