Skip to content
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

Reverse proxy #3

Open
welcoMattic opened this issue May 14, 2017 · 13 comments
Open

Reverse proxy #3

welcoMattic opened this issue May 14, 2017 · 13 comments
Assignees

Comments

@welcoMattic
Copy link

welcoMattic commented May 14, 2017

Ref. #2

Je propose d'utiliser https://github.com/containous/traefik/ comme reverse proxy. Il est plus simple à configurer et surtout ne nécessite pas de redémarrage.

Il suffit de rajouter des labels dans le fichier docker-compose.yml. SSL est pris en charge

Je veux bien m'occuper de la PR si besoin ;)

@bilyboy785
Copy link
Owner

Si tu as le temps de te plonger dans mon fouilli de code et faire la PR pourquoi pas ;)

@welcoMattic
Copy link
Author

J'avoue, j'ai essayé et bash j'suis pas ultra fan ^^'
J'ai un docker-compose qui fait ~ la même chose que seedbox-compose mais avec juste:

C'est sur un repo privé pour le moment, mais je vais surement l'ouvrir, quand j'aurais viré mes tokens/passwords du code ^^

@bilyboy785
Copy link
Owner

Je suis preneur, j'ai du mal à assimiler le principe de Traefik et comment le mettre en place 😁

@welcoMattic
Copy link
Author

C'est un binaire (codé en Go) qui écoute le port 80 et qui redirige les requêtes vers le bon container selon le host demandé.

Je trouve du temps d'ici ce weekend pour ouvrir mon repo ;)

@bilyboy785
Copy link
Owner

Pas de soucis j'attends de tes nouvelles alors ;)

@welcoMattic
Copy link
Author

welcoMattic commented May 24, 2017

Eh hop : https://github.com/welcoMattic/hadopi-public

  • Treafik
  • Rtorrent+rutorrent
  • Flood (client rtorrent en ReactJS)
  • Plex
  • Portainer

@bilyboy785
Copy link
Owner

Ahhhhh top je vais regarder ca !

@bilyboy785
Copy link
Owner

J'ai testé en adaptant la conf mais rien, 404 sur le traefik backend, et sur le container de test (radarr). Et j'ai aucun logs pour le container traefik ..

@welcoMattic
Copy link
Author

tu peux push ça sur une branche (genre traefik) et je jette un oeil ? ;)

@bilyboy785
Copy link
Owner

Bah j'ai essayé même avec le tien, en changeant juste le domain.tld, et ca ne marche pas hum. Je vais essayer de te push ca quelque part. Je reviens vers toi ;)

@bilyboy785
Copy link
Owner

Au pire tu peux rejoindre le channel telegram ? SeedboxCompose

@welcoMattic
Copy link
Author

faut modifier traefik.toml aussi, sur ma stack. J'ai push ça vite fait sans doc :/ sorry ^^

@bilyboy785
Copy link
Owner

Oui je l'ai modifié, après j'ai vu qu'il etait erase quand je faisais le docker-compose, et j'ai fais un dockerfile pour l'intégrer au docker, mais rien.

@bilyboy785 bilyboy785 self-assigned this May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants