Skip to content

docker compose

penevl edited this page May 20, 2023 · 4 revisions

Here is an example docker-compose.yml file which can be used to get everything up and running quickly. To get the aproperiate version for each image just go to docker hub and grab those from there.

version: "3.8"

services:

  query:
    container_name: query
    image: elduko1434/query:<VERSION>
    restart: unless-stopped
    environment:
      TZ: "Europe/Gay"
    volumes:
      - /example/query/data:/app/data

  honeycomb:
    container_name: honeycomb
    image: elduko1434/honeycomb:<VERSION>
    restart: unless-stopped
    ports:
      - 8080:8080
    volumes:
      - /example/honeycomb/data:/app/data

To deploy this stack use the command

docker-compose up -d

Note: If you get weir errors relating to docker and docker-compose when executing this command try running it as root by putting sudo in front of the command

Clone this wiki locally