domain unreachable in docker-compose feature
hi, I'm having an issue when deploying grafana using docker-compose (raw). I have followed the existing documentation. but the domain still remains unreachable.
I have also set DNS in Cloudflare correctly. is there any solution?
18 Replies
Whats the mode you have in cloudflare?
flexible mode
Delete the label of certificateResolver and in the entry point change to web instead of websecure
like this
??
Yes
i've try with this and still bad gateway
can you check the traefik logs in settings?
only
time="2024-07-20T18:48:21Z" level=info msg="Configuration loaded from file: /etc/traefik/traefik.yml"
i've try for reload trafic but show error like this Error to reload the traefik
or any step i missed?,all looks good, let me try
is there anything that needs to be set in cloudflare?
let me try to deploy
for me its working
envs
just replace your domain in GRAFANA_HOST and deploy
and that should be enough
lemme try it
woww, its workss. I'm still curious, is the error in the line -
"traefik.http.routers.grafana.entrypoints=web"
? but thanks king 👑yeah probably 🤣
hi I want to ask out of context, is it possible to change the db conf like
my.cnf
in mysql when we deploy the database? I've tried docker exec -it -u root
but I can't write with vi, vim or nano
is there any other approach to do that?what do you mean you cannot use nano with the integrated terminal in the browser?
yapp, i can't
Is there a solution for setting the database config?
Yes create an docker application and in docker you can put your-config.conf
In docker-hub exist a lot of images like : mysql , postgresql , …, etc
We recenlty make a rework in File mounts, in theory you can add any config and then just bind to the database