mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
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:
+11
-3
@@ -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
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
# server endpoint
|
||||
SERVER=https://impactdashboard.streamlinehealth.tech/
|
||||
SERVER_ENDPOINT=signalytic/receive_data
|
||||
SERVER_STATUS_URL=signalytic/status
|
||||
|
||||
# Database variables
|
||||
DB_HOST=streamline-emr
|
||||
DB_DATABASE=streamline
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=streamline
|
||||
|
||||
# Redis variables
|
||||
REDIS_HOST=streamline-emr-redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_TTL=432000 # 5Days
|
||||
Reference in New Issue
Block a user