version: "3" services: ################################################## # DATABASES # ################################################## mongo: image: mongo:4.2 restart: always volumes: - ./mongo_data:/data/db redis: image: redis:5.0 restart: always volumes: - ./redis_data:/data riot: build: riot restart: always ports: - 8080:80 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 depends_on: - postgres 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 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 # When creating for the first time, # you need to create codimd and cas users and databases. image: postgres:9.6-alpine restart: always environment: - 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:/hedgedoc/public/uploads depends_on: - postgres # 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 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