-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Iristyle/move-to-directory-based-versioni…
…ng-for-composee (maint) Use directories for PE compose versions
- Loading branch information
Showing
1 changed file
with
170 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
version: '3.7' | ||
services: | ||
puppet: | ||
image: ${DOCKER_REGISTRY_PATH}pe-puppetserver:pe-2019.1.3 | ||
hostname: puppet.test | ||
environment: | ||
- CERTNAME=puppet.test | ||
- PUPPETDB_HOSTNAME=puppetdb.test | ||
- PE_CONSOLE_SERVICES_HOSTNAME=pe-console-services.test | ||
- PE_ORCHESTRATION_SERVICES_HOSTNAME=pe-orchestration-services.test | ||
# puppet::enterprise class parameters written to hiera.yaml | ||
- PUPPETSERVER_PORT=8140 | ||
- POSTGRES_HOSTNAME=postgres.test | ||
- PUPPETDB_SSL_PORT=8081 | ||
- PE_ORCHESTRATION_SERVICES_PORT=8143 | ||
# Set the control repo URL like https://github.com/puppetlabs/control-repo.git | ||
# For private repos, use [email protected]:user/repo.git and provide SSH keys | ||
# - R10K_REMOTE= | ||
volumes: | ||
- puppetserver:/opt/puppetlabs/server/data/puppetserver | ||
- puppetserver-packages:/opt/puppetlabs/server/data/packages | ||
- code-manager:/opt/puppetlabs/server/data/code-manager | ||
# NOTE: for an R10K_REMOTE the id-control_repo.rsa path may be bind mounted like: | ||
# - ./path/to/codemanager/ssh:/etc/puppetlabs/puppetserver/ssh | ||
# Additional SSH configuration files may be placed in this directory | ||
restart: always | ||
ports: | ||
- 8140:8140 | ||
- 8170:8170 | ||
dns_search: test | ||
networks: | ||
test: | ||
aliases: | ||
- puppet.test | ||
pe-orchestration-services: | ||
image: ${DOCKER_REGISTRY_PATH}pe-orchestration-services:pe-2019.1.3 | ||
hostname: pe-orchestration-services.test | ||
environment: | ||
- CERTNAME=pe-orchestration-services.test | ||
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PUPPETDB_HOSTNAME=puppetdb.test | ||
- POSTGRES_HOSTNAME=postgres.test | ||
- PE_BOLT_SERVER_HOSTNAME=pe-bolt-server.test | ||
- PE_CONSOLE_SERVICES_HOSTNAME=pe-console-services.test | ||
- PUPPERWARE_ADMIN_PASSWORD=pupperware | ||
volumes: | ||
- orchestration-services:/opt/puppetlabs/server/data/orchestration-services | ||
restart: always | ||
ports: | ||
- 8142:8142 | ||
- 8143:8143 | ||
depends_on: | ||
- puppet | ||
dns_search: test | ||
networks: | ||
test: | ||
aliases: | ||
- pe-orchestration-services.test | ||
pe-console-services: | ||
image: ${DOCKER_REGISTRY_PATH}pe-console-services:pe-2019.1.3 | ||
hostname: pe-console-services.test | ||
environment: | ||
- CERTNAME=pe-console-services.test | ||
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PUPPETSERVER_CERTNAME=puppet.test | ||
- PUPPETSERVER_PORT=8140 | ||
- PUPPETDB_HOSTNAME=puppetdb.test | ||
- PUPPETDB_CERTNAME=puppetdb.test | ||
- PUPPETDB_SSL_PORT=8081 | ||
- POSTGRES_HOSTNAME=postgres.test | ||
- POSTGRES_PORT=5432 | ||
- PE_ORCHESTRATION_SERVICES_HOSTNAME=pe-orchestration-services.test | ||
- PE_ORCHESTRATION_SERVICES_CERTNAME=pe-orchestration-services.test | ||
volumes: | ||
- console-services:/opt/puppetlabs/server/data/console-services | ||
restart: always | ||
ports: | ||
- 443:4431 | ||
- 4430:4430 | ||
- 4432:4432 | ||
- 4433:4433 | ||
depends_on: | ||
- postgres | ||
- puppet | ||
dns_search: test | ||
networks: | ||
test: | ||
aliases: | ||
- pe-console-services.test | ||
pe-bolt-server: | ||
image: ${DOCKER_REGISTRY_PATH}pe-bolt-server:pe-2019.1.3 | ||
hostname: pe-bolt-server.test | ||
restart: always | ||
expose: | ||
- 62658 | ||
- 62659 | ||
environment: | ||
- CERTNAME=pe-bolt-server.test | ||
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PE_BOLT_SERVER_LOGLEVEL=${PE_BOLT_SERVER_LOGLEVEL:-info} | ||
- WHITELIST_HOSTNAME.0=pe-bolt-server.test | ||
- WHITELIST_HOSTNAME.1=pe-orchestration-services.test | ||
volumes: | ||
- bolt-server:/opt/puppetlabs/server/data/bolt-server | ||
networks: | ||
test: | ||
aliases: | ||
- pe-bolt-server.test | ||
puppetdb: | ||
image: ${DOCKER_REGISTRY_PATH}pe-puppetdb:pe-2019.1.3 | ||
hostname: puppetdb.test | ||
environment: | ||
- CERTNAME=puppetdb.test | ||
- USE_PUPPETSERVER=true | ||
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PUPPETDB_POSTGRES_HOSTNAME=postgres.test | ||
- PUPPETDB_POSTGRES_PORT=5432 | ||
- PUPPETDB_PASSWORD=puppetdb | ||
- PUPPETDB_USER=puppetdb | ||
- PE_CONSOLE_SERVICES_HOSTNAME=pe-console-services.test | ||
volumes: | ||
- puppetdb:/opt/puppetlabs/server/data/puppetdb | ||
restart: always | ||
ports: | ||
# Ports are not published to host for security reasons. | ||
# Use docker-compose.override.yml to publish locally. | ||
- 8080 | ||
- 8081 | ||
depends_on: | ||
- postgres | ||
- puppet | ||
dns_search: test | ||
networks: | ||
test: | ||
aliases: | ||
- puppetdb.test | ||
postgres: | ||
image: ${DOCKER_REGISTRY_PATH}pe-postgres:pe-2019.1.3 | ||
hostname: postgres.test | ||
environment: | ||
- CERTNAME=postgres.test | ||
- POSTGRES_PASSWORD=puppetdb | ||
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PUPPETDB_CERTNAME=puppetdb.test | ||
- PE_CONSOLE_SERVICES_CERTNAME=pe-console-services.test | ||
- PE_ORCHESTRATION_SERVICES_CERTNAME=pe-orchestration-services.test | ||
volumes: | ||
- puppetdb-postgres:/var/lib/postgresql/data | ||
restart: always | ||
expose: | ||
- 5432 | ||
depends_on: | ||
- puppet | ||
dns_search: test | ||
networks: | ||
test: | ||
aliases: | ||
- postgres.test | ||
networks: | ||
test: | ||
name: pupperware-commercial | ||
volumes: | ||
puppetserver: | ||
puppetserver-packages: | ||
code-manager: | ||
orchestration-services: | ||
console-services: | ||
bolt-server: | ||
puppetdb: | ||
puppetdb-postgres: |