codimd
codimd copied to clipboard
How to change domain?
trafficstars
I use docker version of Codimd.
Changed CMD_DOMAIN to my new domain, after docker-compose restart, the site still using the old domain.
docker-compose.yml:
version: "3"
services:
codimd:
image: hackmdio/hackmd:2.4.1
environment:
- CMD_DOMAIN=xxxxx
- ...

I end up replacing it with a new service:
version: "3"
services:
codimd2:
image: hackmdio/hackmd:2.4.1
environment:
- CMD_DOMAIN=xxxxx
- ...
docker-compose up -d --remove-orphans
Domain changed but image upload not working.
Hi @ronald8192, Thanks for reporting. However, I can't reproduce this issue. Could you provide image uploading error logs and screenshots?
Feel free to re-open if you can elaborate.