Dockerfile + docker-compose add: add dev sintonia_webapp container

This commit is contained in:
Michael 2025-01-23 13:49:55 +01:00
parent ca3a179529
commit 35043d436f
3 changed files with 115 additions and 0 deletions

View file

@ -98,6 +98,30 @@ services:
- libretime_assets:/var/www/html
- libretime_storage:/srv/libretime
sintonia-webapp:
build:
context: ./sintonia_webapp
args:
- sintonia_user=${SINTONIA_USER}
- sintonia_uid=${SINTONIA_UID}
- sintonia_node_version=${SINTONIA_NODE_VERSION}
- sintonia_production=${SINTONIA_PRODUCTION}
image: sintonia-webapp
container_name: sintonia-webapp
depends_on:
- postgres
- rabbitmq
init: true
working_dir: /var/www/
volumes:
- libretime_storage:/srv/libretime
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:
image: nginx
ports: