Git Product home page Git Product logo

traefik2-docker-stack's People

Contributors

arrys avatar realtarget avatar scholarsmate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

traefik2-docker-stack's Issues

SocketError(getaddrinfo: Temporary failure in name resolution)

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.

Issue with initial configuration

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.

traefik dashboard changes

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.

How to use traefik for SSH

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 .

TCP router configuration is unused

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.