Skip to content

update traefik to v2.x#396

Open
ycyin wants to merge 5 commits into
Joxit:mainfrom
ycyin:main
Open

update traefik to v2.x#396
ycyin wants to merge 5 commits into
Joxit:mainfrom
ycyin:main

Conversation

@ycyin
Copy link
Copy Markdown

@ycyin ycyin commented Sep 18, 2024

Updated traefik example #380

This is the version I'm using on production

Comment thread examples/traefik/registry-ui-nginx.conf Outdated
@Joxit
Copy link
Copy Markdown
Owner

Joxit commented Sep 21, 2024

Hi, thank you for your contribution 😄

I posted one comment in your PR

Comment thread examples/traefik/docker-compose-swarm-registry.yml Outdated
Comment thread examples/traefik/docker-compose-swarm-registry.yml Outdated
Comment thread examples/traefik/docker-compose-swarm-registry.yml Outdated
Comment thread examples/traefik/docker-compose-swarm-traefik.yml Outdated
Copy link
Copy Markdown

@jnovack jnovack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not part of the team, just making suggestions.

memory: 8g
reservations:
cpus: '1'
memory: 2g
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION:

These limits and reservations are way to egregious for testing (even for some swarm productions)! I understand it's an example, but I feel we can be a little bit more responsible with examples.

Traefik v2 takes up ~40MB RAM idle, you don't need reserve 2G (it's not V3! HA!)

Suggested:

       limits:
          cpus: '2'
          memory: 4g
        reservations:
          cpus: '0.1'
          memory: 128MB

- --entryPoints.web.forwardedHeaders.insecure
# - --entryPoints.websecure.address=:443
environment:
- TZ=Asia/Shanghai
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION:

Again, make it neutral to the most amount of people. TZ=UTC would be neutral.

jnovack added a commit to jnovack/docker-registry-ui that referenced this pull request Apr 23, 2025
jnovack added a commit to jnovack/docker-registry-ui that referenced this pull request Apr 24, 2025
jnovack added a commit to jnovack/docker-registry-ui that referenced this pull request Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants