codimd icon indicating copy to clipboard operation
codimd copied to clipboard

How to change domain?

Open ronald8192 opened this issue 4 years ago • 1 comments
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
      - ...

image

ronald8192 avatar Jul 24 '21 14:07 ronald8192

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.

ronald8192 avatar Jul 25 '21 18:07 ronald8192

Hi @ronald8192, Thanks for reporting. However, I can't reproduce this issue. Could you provide image uploading error logs and screenshots?

jackycute avatar Jan 13 '23 09:01 jackycute

Feel free to re-open if you can elaborate.

jackycute avatar Jun 05 '23 04:06 jackycute