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

Commit 09f12ba

Browse files
committed
Update docker-compose file
1 parent 2359ade commit 09f12ba

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

build/docker/docker-compose.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ services:
77
- "9292:9292"
88
environment:
99
- REDIS_URL=redis://redis:6379/0
10+
- SINATRA_ENV=production
11+
- WEBHOOK_CONFDIR=/config/webhook.yaml
1012
volumes:
1113
- "/etc/puppetlabs/code:/puppetlabs/codedir"
12-
- "/etc/puppetlabs/webhook/config.yml:/app/config/config.yml"
13-
- "/etc/puppetlabs/r10k/r10k.yaml:/etc/r10k.yaml"
14+
- "/etc/voxpupuli/:/config"
15+
- "/etc/puppetlabs/r10k:/etc/r10k"
1416
redis:
1517
image: "redis:alpine"
1618
sidekiq:
@@ -19,10 +21,12 @@ services:
1921
command: "bash -c 'cd app/ && bundle exec sidekiq -r /app/config/environment.rb'"
2022
environment:
2123
- REDIS_URL=redis://redis:6379/0
24+
- SINATRA_ENV=production
25+
- WEBHOOK_CONFDIR=/config/webhook.yaml
2226
volumes:
23-
- "/etc/puppetlabs/etc/code:/puppetlabs/codedir"
24-
- "/etc/puppetlabs/webhook/config.yml:/app/config/config.yml"
25-
- "/etc/puppetlabs/r10k/r10k.yaml:/etc/r10k.yaml"
27+
- "/etc/puppetlabs/code:/puppetlabs/codedir"
28+
- "/etc/voxpupuli/:/config"
29+
- "/etc/puppetlabs/r10k:/etc/r10k"
2630
- "/root/.ssh/id_rsa:/root/.ssh/id_rsa"
2731
depends_on:
2832
- app

0 commit comments

Comments
 (0)