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:
streamline-emr:
image: ${APP_IMAGE:-streamline-emr:latest}
container_name: ${APP_CONTAINER:-streamline-emr}
image: streamline-emr:latest
container_name: streamline-emr
restart: unless-stopped
volumes:
- "/var/signalytic/clientapps/streamline/streamline_emr/data:/var/lib/mysql"
- "${DATA_DIR:-./data}:/var/lib/mysql"
ports:
- "${APP_PORT:-3000}:80"
command: ["sh", "-c", "composer install && php artisan migrate"]
@@ -18,11 +18,9 @@ services:
networks:
- streamline
statistics:
image: ${STATISTICS_IMAGE:-statistics:latest}
container_name: ${STATISTICS_CONTAINER:-statistics}
image: statistics:latest
container_name: statistics
restart: unless-stopped
# volumes:
# - ./resources/statistics:/
depends_on:
- streamline-emr
networks: