sintonia docker fix: dev container startup
This commit is contained in:
parent
f17ee781a2
commit
18ad58fd68
7 changed files with 223 additions and 103 deletions
|
@ -101,26 +101,24 @@ services:
|
|||
sintonia-webapp:
|
||||
build:
|
||||
context: ./sintonia_webapp
|
||||
target: sintonia-webapp-production
|
||||
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
|
||||
- sintonia_config_filepath=${SINTONIA_CONFIG_FILEPATH}
|
||||
- libretime_config_filepath=${LIBRETIME_CONFIG_FILEPATH}
|
||||
image: sintonia-webapp-prod
|
||||
container_name: sintonia-webapp-prod
|
||||
depends_on:
|
||||
- postgres
|
||||
- rabbitmq
|
||||
init: true
|
||||
working_dir: /var/www/
|
||||
working_dir: /var/www/sintonia_webapp
|
||||
volumes:
|
||||
- ${LIBRETIME_CONFIG_FILEPATH:-./config.yml}:/etc/libretime/config.yml:ro
|
||||
- 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}
|
||||
- libretime_assets:/var/www/html
|
||||
|
||||
nginx:
|
||||
image: nginx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue