-
Notifications
You must be signed in to change notification settings - Fork 349
Add wings template #661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wings template #661
Changes from all commits
f901da3
63eb87e
f8d8837
c68dba2
e52747a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,33 @@ | ||||||||||||||||||||||
| version: '3.8' | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| services: | ||||||||||||||||||||||
| wings: | ||||||||||||||||||||||
| image: ghcr.io/pterodactyl/wings:v1.11.11 # latest version (v1.12.0) doesnt work - https://github.com/pterodactyl/panel/pull/5324 | ||||||||||||||||||||||
| restart: always | ||||||||||||||||||||||
| ports: | ||||||||||||||||||||||
| - 8080 | ||||||||||||||||||||||
| - 2022 | ||||||||||||||||||||||
| tty: true | ||||||||||||||||||||||
| environment: | ||||||||||||||||||||||
| TZ: "UTC" | ||||||||||||||||||||||
| WINGS_UID: 988 | ||||||||||||||||||||||
| WINGS_GID: 988 | ||||||||||||||||||||||
| WINGS_USERNAME: pterodactyl | ||||||||||||||||||||||
| volumes: | ||||||||||||||||||||||
| - "/var/run/docker.sock:/var/run/docker.sock" | ||||||||||||||||||||||
| - "/var/lib/docker/containers/:/var/lib/docker/containers/" | ||||||||||||||||||||||
| - "/etc/wings/:/etc/pterodactyl/" | ||||||||||||||||||||||
| - "/var/lib/pterodactyl/:/var/lib/pterodactyl/" | ||||||||||||||||||||||
| - "/var/log/pterodactyl/:/var/log/pterodactyl/" | ||||||||||||||||||||||
| - "/tmp/pterodactyl/:/tmp/pterodactyl/" | ||||||||||||||||||||||
| - "/etc/ssl/certs:/etc/ssl/certs:ro" | ||||||||||||||||||||||
|
Comment on lines
+16
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Host bind mounts expose sensitive host paths This template mounts the Docker socket ( Additionally, the host path mounts (e.g., Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||||||||||||||||||||||
| labels: | ||||||||||||||||||||||
| - "traefik.enable=true" | ||||||||||||||||||||||
| - "traefik.http.routers.c1.rule=Host(`your.wings.domain`)" | ||||||||||||||||||||||
| - "traefik.http.routers.c1.entrypoints=websecure" | ||||||||||||||||||||||
|
Comment on lines
+24
to
+27
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need this?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
founded this on pterodactyl discord |
||||||||||||||||||||||
| - "traefik.http.services.c1.loadbalancer.server.port=8080" | ||||||||||||||||||||||
| - "traefik.http.routers.c1.tls=true" | ||||||||||||||||||||||
| - "traefik.http.middlewares.c1-headers.headers.customrequestheaders.X-Forwarded-Proto=https" | ||||||||||||||||||||||
| - "traefik.http.routers.c1.middlewares=c1-headers" | ||||||||||||||||||||||
| - "traefik.http.services.c1.loadbalancer.server.scheme=https" | ||||||||||||||||||||||
| - "traefik.http.routers.c1.tls.certresolver=myresolver" | ||||||||||||||||||||||
|
Comment on lines
+24
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Traefik labels conflict with Dokploy's routing These Traefik labels are redundant and potentially problematic. Dokploy manages its own Traefik routing configuration based on the The
Suggested change
If custom Traefik configuration is genuinely needed beyond what Dokploy provides, it should be documented clearly, but in this case the |
||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| [variables] | ||
| main_domain = "${domain}" | ||
|
|
||
| [config] | ||
| env = [] | ||
| mounts = [] | ||
|
|
||
| [[config.domains]] | ||
| serviceName = "wings" | ||
| port = 8080 | ||
| host = "${main_domain}" |
Uh oh!
There was an error while loading. Please reload this page.