Skip to content

Commit

Permalink
Updated legacy compose
Browse files Browse the repository at this point in the history
  • Loading branch information
George Svachulay committed Feb 23, 2017
1 parent 99b723a commit 8125487
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions puppet3X/docker-compose.yml
@@ -0,0 +1,35 @@
# DOCKER COMPOSE FOR TESTING THE LEGACY STACK. THIS IS DESIGNED TO BE A RANCHER CATALOG ITEM.
version: '2'
services:
puppet:
restart: unless-stopped
hostname: puppet
image: opsforge/puppet3x
ports:
- 8140:8140
- 443:443
- 8080:8080
- 8081:8081
volumes:
- ./puppet-data/puppet/ssl:/var/lib/puppet/ssl
- ./puppet-data/puppet/environments:/etc/puppet/environments
networks:
- puppet

postgres:
restart: unless-stopped
hostname: postgres
image: opsforge/puppetdb-psql
environment:
- POSTGRES_PASSWORD=puppetdb
- POSTGRES_USER=puppetdb
expose:
- 5432
volumes:
- ./puppet-data/pgdata:/var/lib/postgresql/data/
networks:
- puppet

networks:
puppet:
driver: bridge

0 comments on commit 8125487

Please sign in to comment.