docker-ovh/docker-compose.yml

125 lines
2.9 KiB
YAML

version: "3"
services:
element:
build: element
restart: always
ports:
- 8080:80
hedgedoc:
build: hedgedoc
restart: always
environment:
- "CMD_DB_URL=${CODIMD_DB_URL}"
- "CMD_LDAP_BINDCREDENTIALS=${CODIMD_LDAP_BINDCREDENTIALS}"
ports:
- "8081:3000"
volumes:
- ./codimd_uploads_data:/hedgedoc/public/uploads
grafana:
build: grafana
restart: always
environment:
- "ENV_PASSWORD=${GRAFANA_LDAP_BIND_PASSWD}"
volumes:
- ./grafana_data:/var/lib/grafana
ports:
- 8082:3000
privatebin:
image: privatebin/nginx-fpm-alpine:1.3.4
restart: always
volumes:
- ./privatebin_data:/srv/data
ports:
- 8083:8080
etherpad:
build: etherpad
restart: always
environment:
- "POSTGRES_PASSWORD=${ETHERPAD_POSTGRES_PASSWD}"
ports:
- 8084:9001
cas:
build: django-cas-server
restart: always
environment:
DJANGO_DB_PASSWORD: "${DJANGO_CAS_DB_PASSWORD}"
DJANGO_SECRET_KEY: "${DJANGO_CAS_SECRET_KEY}"
DJANGO_CAS_LDAP_PASSWORD: "${DJANGO_CAS_LDAP_PASSWORD}"
ports:
- "8085:8000"
statping:
image: statping/statping:v0.90.74
restart: always
ports:
- 8086:8080
volumes:
- ./statping_data:/app
environment:
DB_CONN: sqlite
docker_exporter:
image: prometheusnet/docker_exporter
restart: always
ports:
- "8087:9417"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
kanboard:
image: kanboard/kanboard:v1.2.18
port:
- 8088:80
volumes:
- ./kanboard_data:/var/www/app/data
- ./kanboard_plugins:/var/www/app/plugins
environnements:
- "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_USERNAME=kanboard"
- "DB_PASSWORD=${KANBOARD_DB_PASSWORD}"
- "DB_NAME=kanboard"
- "ENABLE_XFRAME=false"
- "DEBUG=false"
kanbot:
build: kanbot
restart: always
volumes:
- ./kanbot_config/config.yaml:/var/www/kanbot/config.yaml:ro
matrix-appservice-discord:
image: halfshot/matrix-appservice-discord:v1.0.0
restart: always
volumes:
- ./matrix-appservice-discord_data:/data
- ./matrix-appservice-discord_data/discord.db:/discord.db
ports:
- 9005:9005
prometheus-alertmanager:
build: prometheus-alertmanager
restart: always
ports:
- 9093:9093
prometheus-alertmanager-discord:
build: prometheus-alertmanager-discord
restart: always
environment:
- "DISCORD_WEBHOOK=${PROMETHEUS_DISCORD_WEBHOOK}"