question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wouldn’t it be nice with a docker-compose.yml to replace the lengthy docker run command?

I’ve been talking to @runejuhl about this, and I know he’s got one that will suit this purpose.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
metalcatedcommented, Nov 2, 2020

docker-compose.yml goes in the root directory of the source from git.

version: '2'
services:
  deamon:
    image: 'puppetboard:latest'
    build: './'
    restart: always
    environment:
      - PUPPETDB_HOST=<server fqdn>
      - PUPPETDB_PORT=8081
      - PUPPETDB_SSL_VERIFY=/etc/puppetlabs/puppetdb/ssl/ca.pem
      - PUPPETDB_KEY=/etc/puppetlabs/puppetdb/ssl/private.pem
      - PUPPETDB_CERT=/etc/puppetlabs/puppetdb/ssl/public.pem
      - INVENTORY_FACTS='Hostname,fqdn, IP Address,ipaddress'
      - ENABLE_CATALOG=True
      - GRAPH_FACTS='architecture,puppetversion,osfamily'
    ports:
      - "9080:80"
    volumes:
      - '/etc/puppetlabs/puppet/ssl:/etc/puppetlabs/puppet/ssl'
      - '/etc/puppetlabs/puppetdb/ssl:/etc/puppetlabs/puppetdb/ssl'
1reaction
bastelfreakcommented, Jan 13, 2020

sounds good to me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview | Docker Documentation
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services....
Read more >
docker/compose: Define and run multi-container ... - GitHub
Docker Compose is a tool for running multi-container applications on Docker defined using the Compose file format. A Compose file is used to...
Read more >
Introduction to Docker Compose - Baeldung
Docker Compose is a tool that helps us overcome this problem and easily handle multiple containers at once. In this tutorial, we'll examine...
Read more >
Docker - Compose - Tutorialspoint
Docker Compose is used to run multiple containers as a single service. For example, suppose you had an application which required NGNIX and...
Read more >
Install Docker Compose - Docker Documentation
You can run Compose on macOS, Windows, and 64-bit Linux. Prerequisites. Docker Compose relies on Docker Engine for any meaningful work, so make...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found