sintonia docker fix: dev container startup

This commit is contained in:
Michael 2025-02-03 15:48:35 +01:00
parent f17ee781a2
commit 18ad58fd68
7 changed files with 223 additions and 103 deletions

View file

@ -69,12 +69,21 @@ services:
sintonia-webapp:
build:
context: .
target: sintonia-webapp
image: sintonia-webapp
container_name: sintonia-webapp
working_dir: /var/www/
target: sintonia-webapp-dev
args:
- sintonia_laravel_port=${SINTONIA_LARAVEL_PORT}
- sintonia_vite_port=${SINTONIA_VITE_PORT}
image: sintonia-webapp-dev
container_name: sintonia-webapp-dev
working_dir: /var/www/sintonia_webapp
volumes:
- libretime_storage:/srv/libretime
- ./sintonia_webapp:/var/www/sintonia_webapp
ports:
- ${SINTONIA_LARAVEL_PORT}:${SINTONIA_LARAVEL_PORT}
- ${SINTONIA_VITE_PORT}:${SINTONIA_VITE_PORT}
environment:
- sintonia_laravel_port=${SINTONIA_LARAVEL_PORT}
- sintonia_vite_port=${SINTONIA_VITE_PORT}
nginx:
volumes: