SHARE
TWEET

Untitled

a guest Feb 16th, 2020 229 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "2"
  2. volumes:
  3.   mm-db:
  4.   mm-config:
  5.   mm-data:
  6.   mm-logs:
  7.   mm-plugins:
  8.   mm-client-plugins:
  9. services:
  10.   db:
  11.     image: mattermost/mattermost-prod-db
  12.     volumes:
  13.       - mm-db:/var/lib/postgresql/data
  14.     environment:
  15.       - POSTGRES_USER=mm_user
  16.       - POSTGRES_PASSWORD=password
  17.       - POSTGRES_DB=mattermost
  18.     networks:
  19.       - mm
  20.     labels:
  21.       - traefik.enable=false
  22.   app:
  23.     image: mattermost/mattermost-team-edition
  24.     restart: unless-stopped
  25.     volumes:
  26.       - mm-config:/mattermost/config:rw
  27.       - mm-data:/mattermost/data:rw
  28.       - mm-logs:/mattermost/logs:rw
  29.       - mm-plugins:/mattermost/plugins:rw
  30.       - mm-client-plugins:/mattermost/client/plugins:rw
  31.     environment:
  32.       - MM_USERNAME=mm_user
  33.       - MM_PASSWORD=password
  34.       - MM_DBNAME=mattermost
  35.       - MM_SQLSETTINGS_DATASOURCE=postgres://mm_user:password@db:5432/mattermost?sslmode=disable&connect_timeout=10
  36.     networks:
  37.       - mm
  38.       - traefik
  39.     labels:
  40.       - "traefik.http.routers.mm.rule=Host(`${DOMAIN}`)"
  41.       - "traefik.http.routers.mm.tls.certresolver=le"
  42.       - "traefik.http.routers.mm.entrypoints=websecure"
  43.       - "traefik.docker.network=traefik"
  44. networks:
  45.   traefik:
  46.     external: true
  47.   mm:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top