12 lines
275 B

  1. #!/bin/bash
  2. init-config-add "\
  3. $SERVICE_NAME:
  4. environment:
  5. CMD_USECDN: \"false\"
  6. "
  7. ## ``codimd`` create uploads folder with wrong permission
  8. mkdir -p "$SERVICE_DATASTORE/home/hackmd/app/public/uploads"
  9. chown -R 1500:1500 "$SERVICE_DATASTORE/home/hackmd/app/public/"