You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
837 B

version: '2.1'
6 years ago
services:
server:
6 years ago
image: hastic/server:latest
build:
dockerfile: server/Dockerfile
context: .
environment:
ZMQ_CONNECTION_STRING: ${ZMQ_CONNECTION_STRING:-tcp://analytics:8002}
HASTIC_API_KEY: ${HASTIC_API_KEY}
HASTIC_WEBHOOK_URL: ${HASTIC_WEBHOOK_URL}
HASTIC_WEBHOOK_TYPE: ${HASTIC_WEBHOOK_TYPE}
GRAFANA_URL: ${GRAFANA_URL}
HASTIC_INSTANCE_NAME: ${HASTIC_INSTANCE_NAME}
6 years ago
ports:
- 8000:8000
6 years ago
volumes:
- data-volume:/var/www/data
restart: always
6 years ago
analytics:
6 years ago
image: hastic/analytics:latest
6 years ago
build: analytics
restart: always
command: ${HASTIC_ANALYTICS_COMMAND}
#set HASTIC_ANALYTICS_COMMAND="python -um ptvsd --host 0.0.0.0 --port 5678 bin/server" for remote debug
ports:
- 5678:5678
6 years ago
volumes:
data-volume: