first commit

This commit is contained in:
Lars Behrends
2025-10-17 13:29:28 +02:00
commit 929ee43001
85 changed files with 10361 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
version: '3.8'
services:
app:
volumes:
- .:/var/www:cached
- /var/www/node_modules
- /var/www/vendor
environment:
- APP_ENV=development
command: >
sh -c "
composer install &&
npm install &&
php setup.php &&
php-fpm
"
nginx:
volumes:
- ./public:/var/www/public:ro
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "8000:80"
# Watch for frontend changes during development
frontend-watcher:
build: .
container_name: media-collector-watcher
volumes:
- .:/var/www:cached
- /var/www/node_modules
working_dir: /var/www
command: npm run dev
profiles:
- dev