

theres no config for it, it listens on port 8080. I need to expose the logs dir, but not done that yet. So all the logs will only be in the container, but you could point a mount at /var/www/html/logs
I run horwood.cloud
Could you help fund my server 👉 Fund me
theres no config for it, it listens on port 8080. I need to expose the logs dir, but not done that yet. So all the logs will only be in the container, but you could point a mount at /var/www/html/logs
will be adding it to my setup on Tuesday, so will see how well it works in anger
I have started on a docker image that will allow you to collect the CSP reports 👉 https://github.com/mhzawadi/docker-csp-report
Its not working just yet, will work it this week
Yeah that’s the gist, there need to be something on the end of /csp-report
or it won’t work.
Will have a look and see if I can make something
Sorry I dont, but our devs have some PHP to log requests to a file. On Monday will see if I can get that and make a docker image you can run
your in luck, I have been doing this at work.
First have a look at the report header Content-Security-Policy-Report-Only add things you know about, as that will allow you to log what you need to have setup. Then once you have a list of things you know you need, add them and what the logs again. adding in things as you see and verify them.
Also dont just add things in without checking that its in your code, you dont want to add hack-me.com
by mistake.
OVH is not free, but very cheap
No, the compose file lists the network but the container is still in its own network.
You need to add this to the container
networks:
- nginx-proxy-manager_defualt
side note, I would expose traefik on 127.0.0.1
if its on the same host as nginx. as traefik is visible on all network interfaces.
‘traefik.http.routers.nightscout.rule=Host(
localhost
)’
so traefik will be looking for the host header localhost
and only route requests to the service if it matches, sh when you use your real domain that should be what you use as the host header from nginx
Hello
could you update this with your compose file please?
my first guess is that maybe traefik does not know about nightscout or nightscout is still listening on its own ports
You need to be visible on the internet, if my instance can’t see you then I can’t send you updates
./
will be the directory you run your compose from
In the UK, cityfiber is rolling out 2.3gbps. just not in my area
2-3Gbps? Mate, I can only get 40Mbps here. I would kill for that bandwidth!
I run swarm in my homelab and have done for years, traefik runs on my manager and uses the docker swarm networks to get to services.
My traefik compose makes all the service networks, then each service compose has an external network that all the containers connect to.
This is my example config, this might help - https://github.com/mhzawadi/docker-stash/tree/master/swarm
you could use shell scripts, but that might get very complex very quick, thats where ansible comes in. you make a playbook with the tasks to get a server from vanilla OS to how you want it.
tasks can do anything from install a package (with yum or apt or dnf) to uploading files and everything else you might need, the docs are quite good and have good examples.
As a user for about 9 years, both homelab and work. It can be overwhelming at first, but then you start to see why its used so much.
I have been using OVH for years now, both VPS and dedicated hosts. The VPS offerings are all unmetered!
Oh, you shouldn’t need to do anything other then point a site at it.
Will update the readme when I get home
Edit: thanks for the feedback