Skip to content

Commit 6ee1cb4

Browse files
add Traefik disclamer
1 parent d2f2e76 commit 6ee1cb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ services:
1111
nginx['listen_port'] = '80'
1212
nginx['listen_https'] = false
1313
gitlab_rails['gitlab_shell_ssh_port'] = ${GITLAB_SSH_PORT}
14+
# Traefik labels are suggested as an example for people using Traefik,
15+
# remove them if you are using another reverse proxy.
1416
labels:
1517
traefik.backend: 'gitlab'
1618
traefik.enable: 'true'
1719
traefik.docker.network: 'web'
1820
traefik.frontend.rule: "Host:${GITLAB_HOSTNAME}"
1921
traefik.port: '80'
22+
# If you don't want to use a reverse proxy (not suitable for production!)
23+
# ports:
24+
# - "80:80"
2025
networks:
2126
- default
2227
- web

0 commit comments

Comments
 (0)