Skip to content

Integrate Pangolin Newt Blueprint #43

@michimussato

Description

@michimussato

Include a newt service "wrapper" to Landscapes so that Features (if desired) can be launched with a connection to Pangolin.

Something like:

include:
    # ComposeScope-default
  - project_directory: .landscapes/<LANDSCAPE_ID>/...
    path:
      - ./.../docker-compose.yml
    env_file:
      - ./.../.env

services:
  newt:
    image: fosrl/newt
    container_name: newt
    restart: unless-stopped
    environment:
      - PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT}
      - NEWT_ID=${NEWT_D}
      - NEWT_SECRET=${NEWT_SECRET}
      - ACCEPT_CLIENTS=${ACCEPT_CLIENTS}
    #############################################
    # Leave this intact
      - DOCKER_SOCKET=/var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    #############################################

networks:
  default:
    name: pangolin_default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions