Dockerfile + docker-compose add: add dev sintonia_webapp container
This commit is contained in:
parent
ca3a179529
commit
35043d436f
3 changed files with 115 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue