remove volumes from statistics service and move environment variables to compose

Previously, two volumes were bound to the statistics service. Both are removed
here. The first volume was a .env file, whose contents are now moved to the
compose file under the 'environment' keyword. The second, enabling persistent
storage for the /app folder, also caused the crucial 'fetch_and_update.php' to
be overwritten. Persistent storage is not currently necessary within this
service.
This commit is contained in:
2025-04-09 16:09:46 -07:00
parent 7e40668ec2
commit aa7b64e0b9
2 changed files with 11 additions and 18 deletions
+11 -3
View File
@@ -21,9 +21,17 @@ services:
image: registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/statistics/arm64:2.3
container_name: streamline-emr-statistics
restart: unless-stopped
volumes:
- "${STATISTICS_ENV:-./resources/statistics.env}:/app/statistics.env"
- "${STATISTICS_DATA_DIR:-./statistics_data}:/app"
environment:
SERVER: https://impactdashboard.streamlinehealth.tech/
SERVER_ENDPOINT: signalytic/receive_data
SERVER_STATUS_URL: signalytic/status
DB_HOST: streamline-emr
DB_DATABASE: streamline
DB_USERNAME: root
DB_PASSWORD: streamline
REDIS_HOST: streamline-emr-redis
REDIS_PORT: 6379
REDIS_TTL: 432000
depends_on:
- streamline-emr
- redis