Clean up compose file definitions

This commit is contained in:
Patrick Gregorio
2025-03-21 15:49:13 -06:00
parent ece5b499f8
commit 0eef8850b6
+5 -7
View File
@@ -1,10 +1,10 @@
services: services:
streamline-emr: streamline-emr:
image: ${APP_IMAGE:-streamline-emr:latest} image: streamline-emr:latest
container_name: ${APP_CONTAINER:-streamline-emr} container_name: streamline-emr
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- "/var/signalytic/clientapps/streamline/streamline_emr/data:/var/lib/mysql" - "${DATA_DIR:-./data}:/var/lib/mysql"
ports: ports:
- "${APP_PORT:-3000}:80" - "${APP_PORT:-3000}:80"
command: ["sh", "-c", "composer install && php artisan migrate"] command: ["sh", "-c", "composer install && php artisan migrate"]
@@ -18,11 +18,9 @@ services:
networks: networks:
- streamline - streamline
statistics: statistics:
image: ${STATISTICS_IMAGE:-statistics:latest} image: statistics:latest
container_name: ${STATISTICS_CONTAINER:-statistics} container_name: statistics
restart: unless-stopped restart: unless-stopped
# volumes:
# - ./resources/statistics:/
depends_on: depends_on:
- streamline-emr - streamline-emr
networks: networks: