realtarget / traefik2-docker-stack Goto Github PK
View Code? Open in Web Editor NEWTake a look at my traefik version 2 configurations including traefik v2, portainer, atlassian jira, atlassian confluence, atlassian crowd and rocket chat.
Take a look at my traefik version 2 configurations including traefik v2, portainer, atlassian jira, atlassian confluence, atlassian crowd and rocket chat.
I am currently setting up gitlab on my server using your traefik configuration from GitHub. Although I encounter a problem with my smtp configuration, I am not able to send emails.
I would like to send an email using Office 365 I purchased from GoDaddy.com. My domain and server is hosted there as well. Unfortunately of I use the settings from https://docs.gitlab.com/omnibus/settings/smtp.html#office365 I get an error in gitlab when I try to send the email using the Notify cmd in the gitlab rails console.
SocketError(getaddrinfo: Temporary failure in name resolution)
I couldn't find any solutions on the internet.
docker-compose.yml
version: '3'
services:
reverse-proxy:
image: traefik:latest
command: --api.insecure=true --providers.docker -log.level=DEBUG
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
gitlab:
image: gitlab/gitlab-ee:latest
restart: always
healthcheck:
disable: true
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://gitlab.*domain*'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.office365.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "*email*"
gitlab_rails['smtp_password'] = "*password*"
gitlab_rails['smtp_domain'] = "*domain*"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
gitlab_rails['gitlab_email_from'] = 'gitlab@*domain*'
gitlab_rails['gitlab_email_reply_to'] = 'noreply@*domain*'
volumes:
- '/srv/gitlab/config:/etc/gitlab'
- '/srv/gitlab/logs:/var/log/gitlab'
- '/srv/gitlab/data:/var/opt/gitlab'
expose:
- 80
labels:
- traefik.enable=true
- traefik.http.services.gitlab_xerocscom.loadbalancer.server.port=80
- traefik.http.routers.gitlab.service=gitlab_xerocscom
- traefik.http.routers.gitlab.rule=Host(`gitlab.*domain*`)
Note:
The server is running on http only so far. In addition to that it is not possible to access gitlab by ssh yet.
Hey there! Really excited to have found this repo. I think it helps simplify an initial install of Traefik v2 with some various services.
I'm trying to just get it up and running and I ran into an issue with the certificate not validating. It appears as if the certificate is granted to TRAEFIK DEFAULT CERT instead of using lets encrypt.
Err. Cert_Authority_Invalid
I was wondering if you had any thoughts on this. I followed the instructions to modify the docker-compose with my email and correct domain. Along with creating the acme.json file.
Hi,
since traefik release v2.0.0-rc3 your dashboard setup is broken.
Replacing
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
with
- "traefik.http.routers.traefik.service=api@internal"
works.
Hi,
How did you used traefik for SSH authentication can you provide some more details. Also how did you installed SSH server to be able to use with traefik .
Does the Gitlab TCP traffic actually go through Traefik?
The following lines in the Gitlab docker-compose.yml file imply it directly uses docker to route the port 2222 traffic to the Gitlab container.
gitlab:
image: 'gitlab/gitlab-ce:latest'
...
ports:
- "2222:22"
...
If I am correct, you need to map port 2222 to 2222 on the Traefik container configuration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.