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:
25
README.md
25
README.md
@@ -43,14 +43,23 @@ docker-compose up -d --build
|
|||||||
```
|
```
|
||||||
.
|
.
|
||||||
├── docker-compose.yml # Docker Compose Konfiguration
|
├── docker-compose.yml # Docker Compose Konfiguration
|
||||||
├── Dockerfile # PHP Container Image
|
├── Dockerfile # PHP Container Image
|
||||||
├── start.sh # Container Start-Script
|
├── docker/ # Docker-spezifische Dateien
|
||||||
├── init.sql # Datenbank Initialisierung
|
│ ├── config/
|
||||||
├── config/
|
│ │ └── nginx/
|
||||||
│ └── nginx/
|
│ │ └── default.conf # Nginx Konfiguration
|
||||||
│ └── default.conf # Nginx Konfiguration
|
│ ├── init.sql # Datenbank Initialisierung
|
||||||
└── src/
|
│ └── start.sh # Container Start-Script (unused)
|
||||||
└── index.php # Hauptanwendung
|
├── src/ # Anwendungscode
|
||||||
|
│ ├── api.php
|
||||||
|
│ ├── index.php
|
||||||
|
│ ├── classes/
|
||||||
|
│ └── crawler-worker.php
|
||||||
|
├── tests/ # Test Suite
|
||||||
|
│ ├── Unit/
|
||||||
|
│ └── Integration/
|
||||||
|
├── phpstan.neon # PHPStan Konfiguration
|
||||||
|
└── phpcs.xml # PHPCS Konfiguration
|
||||||
```
|
```
|
||||||
|
|
||||||
## Entwicklung
|
## Entwicklung
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ services:
|
|||||||
- ./composer.lock:/var/www/composer.lock
|
- ./composer.lock:/var/www/composer.lock
|
||||||
- ./phpstan.neon:/var/www/phpstan.neon
|
- ./phpstan.neon:/var/www/phpstan.neon
|
||||||
- ./phpcs.xml:/var/www/phpcs.xml
|
- ./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:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
networks:
|
networks:
|
||||||
@@ -34,7 +34,7 @@ services:
|
|||||||
- "3307:3306"
|
- "3307:3306"
|
||||||
volumes:
|
volumes:
|
||||||
- mariadb_data:/var/lib/mysql
|
- mariadb_data:/var/lib/mysql
|
||||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
- ./docker/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user