Added the statistics service to the stack

This commit is contained in:
Patrick Gregorio
2025-03-21 13:39:25 -06:00
parent 204141eca8
commit ece5b499f8
3 changed files with 19 additions and 4 deletions
+16 -2
View File
@@ -4,9 +4,10 @@ services:
container_name: ${APP_CONTAINER:-streamline-emr}
restart: unless-stopped
volumes:
- "${DATA_DIR:-./data}:/var/lib/mysql"
- "/var/signalytic/clientapps/streamline/streamline_emr/data:/var/lib/mysql"
ports:
- "${APP_PORT:-3000}:80"
command: ["sh", "-c", "composer install && php artisan migrate"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
timeout: 30s
@@ -14,4 +15,17 @@ services:
start_interval: 10s
interval: 30s
retries: 5
networks:
- streamline
statistics:
image: ${STATISTICS_IMAGE:-statistics:latest}
container_name: ${STATISTICS_CONTAINER:-statistics}
restart: unless-stopped
# volumes:
# - ./resources/statistics:/
depends_on:
- streamline-emr
networks:
- streamline
networks:
streamline: