Skip to content

Commit

Permalink
add mattermost config
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentPoinsaut committed Jun 22, 2021
1 parent 79a899b commit 53d589e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@ services:
nginx['listen_port'] = '80'
nginx['listen_https'] = false
gitlab_rails['gitlab_shell_ssh_port'] = ${GITLAB_SSH_PORT}
# If you want enable mattermost, remove this line and uncomment the following lines
# mattermost_external_url "http://mattermost.${GITLAB_HOSTNAME}"
# mattermost['gitlab_auth_endpoint'] = "http://${GITLAB_HOSTNAME}/oauth/authorize"
# mattermost['gitlab_token_endpoint'] = "http://${GITLAB_HOSTNAME}/oauth/token"
# mattermost['gitlab_user_api_endpoint'] = "http://${GITLAB_HOSTNAME}/api/v4/user"
# Traefik labels are suggested as an example for people using Traefik,
# remove them if you are using another reverse proxy.
labels:
traefik.backend: 'gitlab'
traefik.enable: 'true'
traefik.docker.network: 'web'
traefik.frontend.rule: "Host:${GITLAB_HOSTNAME}"
# If you want enable mattermost, comment the previous line and uncomment the next line
# traefik.frontend.rule: "Host:${GITLAB_HOSTNAME},mattermost.${GITLAB_HOSTNAME}"
traefik.port: '80'
# If you don't want to use a reverse proxy (not suitable for production!)
# ports:
Expand Down

0 comments on commit 53d589e

Please sign in to comment.