Declare environment variables using YAML syntax
This commit is contained in:
parent
626b179945
commit
b0485962de
1 changed files with 34 additions and 32 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@ -12,18 +13,18 @@ services:
|
||||||
build: hedgedoc
|
build: hedgedoc
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- "CMD_DB_URL=${CODIMD_DB_URL}"
|
CMD_DB_URL: "${CODIMD_DB_URL}"
|
||||||
- "CMD_LDAP_BINDCREDENTIALS=${CODIMD_LDAP_BINDCREDENTIALS}"
|
CMD_LDAP_BINDCREDENTIALS: "${CODIMD_LDAP_BINDCREDENTIALS}"
|
||||||
ports:
|
|
||||||
- "8081:3000"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./codimd_uploads_data:/hedgedoc/public/uploads
|
- ./codimd_uploads_data:/hedgedoc/public/uploads
|
||||||
|
ports:
|
||||||
|
- 8081:3000
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
build: grafana
|
build: grafana
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- "ENV_PASSWORD=${GRAFANA_LDAP_BIND_PASSWD}"
|
ENV_PASSWORD: "${GRAFANA_LDAP_BIND_PASSWD}"
|
||||||
volumes:
|
volumes:
|
||||||
- ./grafana_data:/var/lib/grafana
|
- ./grafana_data:/var/lib/grafana
|
||||||
ports:
|
ports:
|
||||||
|
@ -41,7 +42,7 @@ services:
|
||||||
build: etherpad
|
build: etherpad
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- "POSTGRES_PASSWORD=${ETHERPAD_POSTGRES_PASSWD}"
|
POSTGRES_PASSWORD: "${ETHERPAD_POSTGRES_PASSWD}"
|
||||||
ports:
|
ports:
|
||||||
- 8084:9001
|
- 8084:9001
|
||||||
|
|
||||||
|
@ -53,49 +54,49 @@ services:
|
||||||
DJANGO_SECRET_KEY: "${DJANGO_CAS_SECRET_KEY}"
|
DJANGO_SECRET_KEY: "${DJANGO_CAS_SECRET_KEY}"
|
||||||
DJANGO_CAS_LDAP_PASSWORD: "${DJANGO_CAS_LDAP_PASSWORD}"
|
DJANGO_CAS_LDAP_PASSWORD: "${DJANGO_CAS_LDAP_PASSWORD}"
|
||||||
ports:
|
ports:
|
||||||
- "8085:8000"
|
- 8085:8000
|
||||||
|
|
||||||
statping:
|
statping:
|
||||||
image: statping/statping:v0.90.74
|
image: statping/statping:v0.90.74
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- 8086:8080
|
|
||||||
volumes:
|
|
||||||
- ./statping_data:/app
|
|
||||||
environment:
|
environment:
|
||||||
DB_CONN: sqlite
|
DB_CONN: sqlite
|
||||||
|
volumes:
|
||||||
|
- ./statping_data:/app
|
||||||
|
ports:
|
||||||
|
- 8086:8080
|
||||||
|
|
||||||
docker_exporter:
|
docker_exporter:
|
||||||
image: prometheusnet/docker_exporter
|
image: prometheusnet/docker_exporter
|
||||||
restart: always
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
ports:
|
ports:
|
||||||
- "8087:9417"
|
- "8087:9417"
|
||||||
volumes:
|
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
||||||
|
|
||||||
kanboard:
|
kanboard:
|
||||||
image: kanboard/kanboard:v1.2.18
|
image: kanboard/kanboard:v1.2.18
|
||||||
ports:
|
environment:
|
||||||
- 8088:80
|
LDAP_AUTH: "true"
|
||||||
|
LDAP_SERVER: ldap://10.128.0.149
|
||||||
|
LDAP_BIND_TYPE: proxy
|
||||||
|
LDAP_USERNAME: "cn=kanboard,ou=service-users,dc=auro,dc=re"
|
||||||
|
LDAP_PASSWORD: "${KANBOARD_LDAP_PASSWORD}"
|
||||||
|
LDAP_USER_BASE_DN: "cn=Utilisateurs,dc=auro,dc=re"
|
||||||
|
LDAP_USER_FILTER: "(&(objectClass=posixAccount)(uid=%s))"
|
||||||
|
LDAP_GROUP_PROVIDER: "false"
|
||||||
|
DB_DRIVER: postgres
|
||||||
|
DB_HOSTNAME: 10.128.0.96
|
||||||
|
DB_NAME: kanboard
|
||||||
|
DB_USERNAME: kanboard
|
||||||
|
DB_PASSWORD: "${KANBOARD_DB_PASSWORD}"
|
||||||
|
ENABLE_XFRAME: "false"
|
||||||
|
DEBUG: "false"
|
||||||
volumes:
|
volumes:
|
||||||
- ./kanboard_data:/var/www/app/data
|
- ./kanboard_data:/var/www/app/data
|
||||||
- ./kanboard_plugins:/var/www/app/plugins
|
- ./kanboard_plugins:/var/www/app/plugins
|
||||||
environment:
|
ports:
|
||||||
- "LDAP_AUTH=true"
|
- 8088:80
|
||||||
- "LDAP_SERVER=ldap://10.128.0.149"
|
|
||||||
- "LDAP_BIND_TYPE=proxy"
|
|
||||||
- "LDAP_USERNAME=cn=kanboard,ou=service-users,dc=auro,dc=re"
|
|
||||||
- "LDAP_PASSWORD=${KANBOARD_LDAP_PASSWORD}"
|
|
||||||
- "LDAP_USER_BASE_DN=cn=Utilisateurs,dc=auro,dc=re"
|
|
||||||
- "LDAP_USER_FILTER=(&(objectClass=posixAccount)(uid=%s))"
|
|
||||||
- "LDAP_GROUP_PROVIDER=false"
|
|
||||||
- "DB_DRIVER=postgres"
|
|
||||||
- "DB_HOSTNAME=10.128.0.96"
|
|
||||||
- "DB_USERNAME=kanboard"
|
|
||||||
- "DB_PASSWORD=${KANBOARD_DB_PASSWORD}"
|
|
||||||
- "DB_NAME=kanboard"
|
|
||||||
- "ENABLE_XFRAME=false"
|
|
||||||
- "DEBUG=false"
|
|
||||||
|
|
||||||
kanbot:
|
kanbot:
|
||||||
build: kanbot
|
build: kanbot
|
||||||
|
@ -122,4 +123,5 @@ services:
|
||||||
build: prometheus-alertmanager-discord
|
build: prometheus-alertmanager-discord
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- "DISCORD_WEBHOOK=${PROMETHEUS_DISCORD_WEBHOOK}"
|
DISCORD_WEBHOOK: "${PROMETHEUS_DISCORD_WEBHOOK}"
|
||||||
|
...
|
||||||
|
|
Loading…
Reference in a new issue