You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.1 KiB
YAML

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}"
postgres:
# Don't upgrade PostgreSQL by simply changing the version number
# You need to migrate the Database to the new PostgreSQL version
4 years ago
# When creating for the first time,
# you need to create codimd and cas users and databases.
image: postgres:9.6-alpine
restart: always
environment:
4 years ago
- POSTGRES_USER=postgres
- "POSTGRES_PASSWD=${POSTGRES_PASSWD}"
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
4 years ago
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