docker-ovh/docker-compose.yml

142 lines
3.1 KiB
YAML
Raw Normal View History

2020-02-02 23:55:37 +01:00
version: "3"
services:
2020-02-22 19:13:24 +01:00
##################################################
# DATABASES #
##################################################
mongo:
image: mongo:4.2
restart: always
volumes:
- ./mongo_data:/data/db
2020-02-22 19:13:24 +01:00
redis:
image: redis:5.0
restart: always
volumes:
- ./redis_data:/data
2020-02-22 19:13:24 +01:00
2020-02-02 23:55:37 +01:00
riot:
build: riot
restart: always
ports:
- 8080:80
privatebin:
image: privatebin/nginx-fpm-alpine:1.3.4
2020-02-02 23:55:37 +01:00
restart: always
volumes:
- ./privatebin_data:/srv/data
ports:
2021-01-07 20:51:28 +01:00
- 8083:8080
2020-02-02 23:55:37 +01:00
etherpad:
build: etherpad
restart: always
environment:
- "POSTGRES_PASSWORD=${ETHERPAD_POSTGRES_PASSWD}"
ports:
- 8084:9001
depends_on:
- postgres
2020-02-02 23:55:37 +01:00
grafana:
build: grafana
restart: always
environment:
- "ENV_PASSWORD=${GRAFANA_LDAP_BIND_PASSWD}"
volumes:
- ./grafana_data:/var/lib/grafana
ports:
- 8082:3000
matrix-appservice-discord:
image: halfshot/matrix-appservice-discord:latest
2020-02-02 23:55:37 +01:00
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}"
2020-02-03 13:12:31 +01:00
postgres:
# Don't upgrade PostgreSQL by simply changing the version number
# You need to migrate the Database to the new PostgreSQL version
2020-02-03 14:07:50 +01:00
# When creating for the first time,
# you need to create codimd and cas users and databases.
2020-02-03 13:12:31 +01:00
image: postgres:9.6-alpine
restart: always
environment:
2020-02-03 14:07:50 +01:00
- POSTGRES_USER=postgres
- "POSTGRES_PASSWD=${POSTGRES_PASSWD}"
2020-02-03 13:12:31 +01:00
volumes:
- ./postgres_data:/var/lib/postgresql/data
codimd:
build: codimd
restart: always
environment:
2020-10-11 23:48:56 +02:00
- "CMD_LDAP_BINDCREDENTIALS=${CODIMD_LDAP_BINDCREDENTIALS}"
2020-02-03 13:12:31 +01:00
ports:
- "8081:3000"
volumes:
2021-01-06 22:34:25 +01:00
- ./codimd_uploads_data:/hedgedoc/public/uploads
2020-02-03 13:12:31 +01:00
depends_on:
- postgres
2020-02-03 14:07:50 +01:00
2021-02-08 19:31:59 +01:00
docker_exporter:
image: prometheusnet/docker_exporter
restart: always
ports:
- "8087:9417"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
# 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"
# depends_on:
# - postgres
2020-02-22 19:13:24 +01:00
2021-01-01 16:34:29 +01:00
statping:
image: statping/statping
restart: always
ports:
- 8086:8080
volumes:
- ./statping_data:/app
environment:
- DB_CONN=sqlite
# sharelatex:
# build: sharelatex
# restart: always
# volumes:
# - ./sharelatex_data:/var/lib/sharelatex
# - /var/run/docker.sock:/var/run/docker.sock
# privileged: true
# ports:
# - "8086:8000"
# depends_on:
# - mongo
# - redis