Skip to content

Conversation

@ycyin
Copy link

@ycyin ycyin commented Sep 18, 2024

Updated traefik example #380

This is the version I'm using on production

@Joxit
Copy link
Owner

Joxit commented Sep 21, 2024

Hi, thank you for your contribution 😄

I posted one comment in your PR

Copy link

@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

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

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