Skip to content

Commit 53d589e

Browse files
add mattermost config
1 parent 79a899b commit 53d589e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@ services:
1111
nginx['listen_port'] = '80'
1212
nginx['listen_https'] = false
1313
gitlab_rails['gitlab_shell_ssh_port'] = ${GITLAB_SSH_PORT}
14+
# If you want enable mattermost, remove this line and uncomment the following lines
15+
# mattermost_external_url "http://mattermost.${GITLAB_HOSTNAME}"
16+
# mattermost['gitlab_auth_endpoint'] = "http://${GITLAB_HOSTNAME}/oauth/authorize"
17+
# mattermost['gitlab_token_endpoint'] = "http://${GITLAB_HOSTNAME}/oauth/token"
18+
# mattermost['gitlab_user_api_endpoint'] = "http://${GITLAB_HOSTNAME}/api/v4/user"
1419
# Traefik labels are suggested as an example for people using Traefik,
1520
# remove them if you are using another reverse proxy.
1621
labels:
1722
traefik.backend: 'gitlab'
1823
traefik.enable: 'true'
1924
traefik.docker.network: 'web'
2025
traefik.frontend.rule: "Host:${GITLAB_HOSTNAME}"
26+
# If you want enable mattermost, comment the previous line and uncomment the next line
27+
# traefik.frontend.rule: "Host:${GITLAB_HOSTNAME},mattermost.${GITLAB_HOSTNAME}"
2128
traefik.port: '80'
2229
# If you don't want to use a reverse proxy (not suitable for production!)
2330
# ports:

0 commit comments

Comments
 (0)