#!/bin/bash

init-config-add "\
$SERVICE_NAME:
  environment:
    CMD_USECDN: \"false\"
"

## ``codimd`` create uploads folder with wrong permission

mkdir -p "$SERVICE_DATASTORE/home/hackmd/app/public/uploads"
chown -R 1500:1500 "$SERVICE_DATASTORE/home/hackmd/app/public/"