Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #120 from dhollinger/docker-compose
Browse files Browse the repository at this point in the history
Update docker-compose file
  • Loading branch information
dhollinger authored Mar 9, 2020
2 parents 2359ade + 09f12ba commit 2987afb
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions build/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ services:
- "9292:9292"
environment:
- REDIS_URL=redis://redis:6379/0
- SINATRA_ENV=production
- WEBHOOK_CONFDIR=/config/webhook.yaml
volumes:
- "/etc/puppetlabs/code:/puppetlabs/codedir"
- "/etc/puppetlabs/webhook/config.yml:/app/config/config.yml"
- "/etc/puppetlabs/r10k/r10k.yaml:/etc/r10k.yaml"
- "/etc/voxpupuli/:/config"
- "/etc/puppetlabs/r10k:/etc/r10k"
redis:
image: "redis:alpine"
sidekiq:
Expand All @@ -19,10 +21,12 @@ services:
command: "bash -c 'cd app/ && bundle exec sidekiq -r /app/config/environment.rb'"
environment:
- REDIS_URL=redis://redis:6379/0
- SINATRA_ENV=production
- WEBHOOK_CONFDIR=/config/webhook.yaml
volumes:
- "/etc/puppetlabs/etc/code:/puppetlabs/codedir"
- "/etc/puppetlabs/webhook/config.yml:/app/config/config.yml"
- "/etc/puppetlabs/r10k/r10k.yaml:/etc/r10k.yaml"
- "/etc/puppetlabs/code:/puppetlabs/codedir"
- "/etc/voxpupuli/:/config"
- "/etc/puppetlabs/r10k:/etc/r10k"
- "/root/.ssh/id_rsa:/root/.ssh/id_rsa"
depends_on:
- app
Expand Down

0 comments on commit 2987afb

Please sign in to comment.