An open API service indexing awesome lists of open source software.

https://github.com/vietanhdev/my-memos

Personal setup of Memos for engineering notes
https://github.com/vietanhdev/my-memos

engineering memos notes

Last synced: 3 months ago
JSON representation

Personal setup of Memos for engineering notes

Awesome Lists containing this project

README

          

# My Memos - Personal setup of Memos for engineering notes

Memos is "an open-source, self-hosted memo hub with knowledge management and socialization". I met some difficulties in setting up Memos with HTTPs on Cloudflare (with .dev domain on custom port). Therefore, I am noting these resources for using later. You can also use them for your setup.

**Notes:** Update `memos.vietanh.dev` to your domain and `2096` to your app port.

**Live demo:** .

## Setup HTTPS (on custom port)

- Install Acme.sh + cronjob for reissuing certs automatically.
- Create a Cloudflare token (for DNS update in the target domain) in . This token will be used by Acme.sh for DNS-challenge.
- Fill the below export commands with obtained values.
- Issue SSL certs:

```
export CF_Email=""
export CF_Token=""
acme.sh --issue -d memos.vietanh.dev --dns dns_cf
```

- Install certs:

```
acme.sh --install-cert -d memos.vietanh.dev \
--key-file key.pem \
--fullchain-file cert.pem
```

## Run server

```
docker-compose up -d
```