goryn-clade / pathfinder-containers

A Docker-compose solution for Pathfinder mapping tool using Traefik
Other
62 stars 66 forks source link

[Feature Request] Build WithOut Traefik #72

Open 15sharpie opened 1 year ago

15sharpie commented 1 year ago

I already use another Reverse Proxy on another box on my network. With the current config the web app is routed thought the traefik so there are no ports to forward to from my already established proxy. Any chance we could get a docker compose without the traefik?

Thanks

ElegosAkla commented 1 year ago

If you need help to make one you should ask on the slack channel, (https://pathfinder-eve-online.slack.com) it's not difficult from original, I may forgot something but I think you just have to: remove traefik container, all traefik labels, et web network. open & route, $PATHFINDER_SOCKET_HOST port on pf-socket container. open & route, 80 port on pf.

TyrHeimdalEVE commented 1 year ago

Have considered making a non-traefik docker-compose.yaml file, yeah.

But @ElegosAkla is correct, you basically strip out the section: https://github.com/goryn-clade/pathfinder-containers/blob/e7cce14353c9513e57318d530b08011c3bdda875/docker-compose.yml#L70-L95

And these: https://github.com/goryn-clade/pathfinder-containers/blob/e7cce14353c9513e57318d530b08011c3bdda875/docker-compose.yml#L43-L54

Then add a ports entry like:

    ports:
      - "80:80"
      - "443:443"
      - "8080:8080"

where the above labels section was. This exposes port <OUTSIDE>:<INSIDE> and will let you point your reverse proxy to the pf container instead of traefik.

The left most part (<OUTSIDE>) can be set to other ports, if for example you already have another service listening on these ports, or use podman which as a non-privileged user that doesn't allow you to aquire these privileged ports.