Reorganize Docker-related files into docker/ directory
Moved Docker infrastructure files to dedicated docker/ folder: - config/nginx/default.conf → docker/config/nginx/default.conf - init.sql → docker/init.sql - start.sh → docker/start.sh (currently unused) Updated: - docker-compose.yml: Adjusted volume paths - README.md: Updated project structure documentation Benefits: - Clear separation between infrastructure (docker/) and application (src/) - Better project organization - Easier to understand for new developers Docker Compose and Dockerfile remain in root for convenience. All services tested and working correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
23
README.md
23
README.md
@@ -44,13 +44,22 @@ docker-compose up -d --build
|
||||
.
|
||||
├── docker-compose.yml # Docker Compose Konfiguration
|
||||
├── Dockerfile # PHP Container Image
|
||||
├── start.sh # Container Start-Script
|
||||
├── init.sql # Datenbank Initialisierung
|
||||
├── config/
|
||||
│ └── nginx/
|
||||
│ └── default.conf # Nginx Konfiguration
|
||||
└── src/
|
||||
└── index.php # Hauptanwendung
|
||||
├── docker/ # Docker-spezifische Dateien
|
||||
│ ├── config/
|
||||
│ │ └── nginx/
|
||||
│ │ └── default.conf # Nginx Konfiguration
|
||||
│ ├── init.sql # Datenbank Initialisierung
|
||||
│ └── start.sh # Container Start-Script (unused)
|
||||
├── src/ # Anwendungscode
|
||||
│ ├── api.php
|
||||
│ ├── index.php
|
||||
│ ├── classes/
|
||||
│ └── crawler-worker.php
|
||||
├── tests/ # Test Suite
|
||||
│ ├── Unit/
|
||||
│ └── Integration/
|
||||
├── phpstan.neon # PHPStan Konfiguration
|
||||
└── phpcs.xml # PHPCS Konfiguration
|
||||
```
|
||||
|
||||
## Entwicklung
|
||||
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
- ./composer.lock:/var/www/composer.lock
|
||||
- ./phpstan.neon:/var/www/phpstan.neon
|
||||
- ./phpcs.xml:/var/www/phpcs.xml
|
||||
- ./config/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./docker/config/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
depends_on:
|
||||
- mariadb
|
||||
networks:
|
||||
@@ -34,7 +34,7 @@ services:
|
||||
- "3307:3306"
|
||||
volumes:
|
||||
- mariadb_data:/var/lib/mysql
|
||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- ./docker/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user