Browse Source

Default config options for docker compose without .env #372 (#373)

pull/1/head
rozetko 6 years ago committed by GitHub
parent
commit
e13b2a5333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .env
  2. 6
      docker-compose.yml

4
.env

@ -1,4 +0,0 @@
ZMQ_CONNECTION_STRING=tcp://analytics:8002
HASTIC_API_KEY=eyJrIjoiVDRUTUlKSjJ5N3dYTDdsd1JyWWRBNHFkb0VSeDBNTTYiLCJuIjoiaGFzdGljLXNlcnZlciIsImlkIjoxfQ==
HASTIC_WEBHOOK_URL=http://localhost:8888
HASTIC_WEBHOOK_TYPE=application/json

6
docker-compose.yml

@ -1,13 +1,13 @@
version: '2' version: '2.1'
services: services:
server: server:
image: hastic/server:latest image: hastic/server:latest
build: build:
dockerfile: server/Dockerfile dockerfile: server/Dockerfile
context: . context: .
environment: environment:
ZMQ_CONNECTION_STRING: ${ZMQ_CONNECTION_STRING:-tcp://analytics:8002}
HASTIC_API_KEY: ${HASTIC_API_KEY} HASTIC_API_KEY: ${HASTIC_API_KEY}
ZMQ_CONNECTION_STRING: ${ZMQ_CONNECTION_STRING}
HASTIC_WEBHOOK_URL: ${HASTIC_WEBHOOK_URL} HASTIC_WEBHOOK_URL: ${HASTIC_WEBHOOK_URL}
HASTIC_WEBHOOK_TYPE: ${HASTIC_WEBHOOK_TYPE} HASTIC_WEBHOOK_TYPE: ${HASTIC_WEBHOOK_TYPE}
ports: ports:

Loading…
Cancel
Save