/blacksmith-docker

Docker images for running Blacksmith applications.

Primary LanguageMakefileApache License 2.0Apache-2.0

Blacksmith on Docker

This repository contains images for running Blacksmith on Docker.

The purpose is to offer an environment inherited from the official Go images without any fluff. They download, unzip, and install the Blacksmith CLI.

Images

Images follow the convention: nunchistudio/blacksmith[-edition]:[version][-distribution].

  • edition is the Blacksmith edition and is one of standard, enterprise. Defaults to standard.
  • version is the Blacksmith version.
  • distribution is one of alpine, buster. Defaults to buster.

Usage

In a Docker-compose.yml:

version: "3"

services:
  blacksmith_gateway:
    image: "nunchistudio/blacksmith-standard:0.18.0-alpine"
    restart: "unless-stopped"
    volumes:
      - "./:/app"
    working_dir: "/app"
    entrypoint: "blacksmith start --service gateway"
    environment:
      NATS_SERVER_URL: ""
      POSTGRES_STORE_URL: ""
      POSTGRES_WANDERER_URL: ""
    ports:
      - "9090:9090"

  blacksmith_scheduler:
    image: "nunchistudio/blacksmith-standard:0.18.0-alpine"
    restart: "unless-stopped"
    volumes:
      - "./:/app"
    working_dir: "/app"
    entrypoint: "blacksmith start --service scheduler"
    environment:
      NATS_SERVER_URL: ""
      POSTGRES_STORE_URL: ""
      POSTGRES_WANDERER_URL: ""
    ports:
      - "9091:9091"

Versions

  • Blacksmith version: v0.18.0
  • Go version: v1.16.5

License

Repository licensed under the Apache License, Version 2.0.

By downloading, installing, and using Blacksmith, you agree to the Blacksmith Terms and Conditions.