You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
310 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. uid=$(docker_get_uid "$SERVICE_NAME" "hedgedoc")
  9. mkdir -p "$SERVICE_DATASTORE/hedgedoc/public/uploads"
  10. chown "$uid" "$SERVICE_DATASTORE/hedgedoc/public/uploads"