@ -9,6 +9,10 @@ services:
- data-volume:"8000:8000"
privileged: true
ipc: host
deploy:
restart_policy:
condition: on-failure
analytics:
build:
dockerfile: Dockerfile_analytics
@ -18,6 +22,9 @@ services:
- "8002:8002"
volumes:
data-volume:
@ -165,7 +165,7 @@ export class AnalyticsService {
private async _onAnalyticsDown() {
console.log('Analytics is down');
if(process.env.NODE_ENV !== 'development') {
if(process.env.NODE_ENV !== 'development' && process.env.INSIDE_DOCKER !== 'true') {
await AnalyticsService._runAnalyticsProcess(this._zmqConnectionString);
}