Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.2"
- services:
- puppetdb:
- deploy:
- replicas: 2
- hostname: mdct-puppetdb
- image: docker-registry.example.com/puppetdb:latest
- ports:
- - 8080:8080
- - 8081:8081
- networks:
- - puppetdb_net
- environment:
- PUPPETDB_DATABASE_CONNECTION: '//postgresql:5432/puppetdb'
- PUPPETDB_USER: puppetdb
- PUPPETDB_PASSWORD: puppetdb
- PUPPETDB_JAVA_ARGS: '-Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m'
- PATH: '/opt/puppetlabs/server/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:$PATH'
- volumes:
- - /var/mnt/gluster/docker_data/puppetdb/ssl:/etc/puppetlabs/puppet/ssl:ro
- postgresql:
- deploy:
- replicas: 1
- image: postgres:9.4
- ports:
- - 5432:5432
- networks:
- - puppetdb_net
- volumes:
- - /var/mnt/gluster/docker_data/puppetdb/postgres:/var/lib/postgresql/data:rw
- networks:
- puppetdb_net:
- driver: overlay
- attachable: true
Add Comment
Please, Sign In to add comment