2020-02-02 23:55:37 +01:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
riot:
|
|
|
|
build: riot
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
|
|
|
|
privatebin:
|
|
|
|
image: privatebin/nginx-fpm-alpine
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./privatebin_data:/srv/data
|
|
|
|
ports:
|
|
|
|
- 8083:80
|
|
|
|
|
|
|
|
etherpad:
|
|
|
|
build: etherpad
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- "POSTGRES_PASSWORD=${ETHERPAD_POSTGRES_PASSWD}"
|
|
|
|
ports:
|
|
|
|
- 8084:9001
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
image: postgres:9.6-alpine
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: codimd
|
|
|
|
POSTGRES_PASSWORD: codimdpass
|
|
|
|
POSTGRES_DB: codimd
|
|
|
|
volumes:
|
|
|
|
- ./postgres_data:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
codimd:
|
|
|
|
build: codimd
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
CMD_LDAP_BINDCREDENTIALS: "${CODIMD_LDAP_BINDCREDENTIALS}"
|
|
|
|
ports:
|
|
|
|
- "8081:3000"
|
|
|
|
volumes:
|
|
|
|
- ./codimd_uploads_data:/codimd/public/uploads
|
|
|
|
depends_on:
|
|
|
|
- postgres
|