-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
33 lines (30 loc) · 1.33 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
version: "3.5"
services:
hdm:
image: ghcr.io/betadots/hdm:latest
container_name: hdm
environment:
- TZ=Europe/Berlin
- SECRET_KEY_BASE="a_l0ng_c0mpl3x_strinG" # f.e.: openssl rand -hex 16
# whether to enable dev mode with fake puppetdb or not
# - DEVELOP=1
# volumes:
# #### folder to save the user sqlite db
# - /hdm_env/db:/hdm_env/db
# #### certs for talking to the puppetdb
# - /hdm_env/certs:/hdm_env/certs:ro
# #### hdm main config
# - { type: 'bind', source: '/hdm_env/hdm.yml', target: '/hdm/config/hdm.yml', read_only: true }
# #### hdm database config
# - { type: 'bind', source: '/hdm_env/database.yml', target: '/hdm/config/database.yml', read_only: true }
# #### mount hiera as data dir in each pseudo env, if you have a seperate hiera repo
# - /hdm_env/hiera:/etc/puppetlabs/code/environments/pre_development/data:ro
# - /hdm_env/hiera:/etc/puppetlabs/code/environments/development/data:ro
# - /hdm_env/hiera:/etc/puppetlabs/code/environments/test/data:ro
# - /hdm_env/hiera:/etc/puppetlabs/code/environments/production/data:ro
# #### mount actual code directory from puppetserver
# - /etc/puppetlabs/code/environments:/etc/puppetlabs/code/environments:ro
ports:
- 3000:3000
restart: unless-stopped