This repo was archived since the original failed.
A rework of hosso/notion-custom-domain.
This repo is a self-hosted version while the origin is a serverless version aiming at serving on Vercel.
- Clone the repo
- Build the image
- Run with proper parameters
Here is an example docker-compose.yaml file:
version: "3.9"
services:
notion:
build: ./
image: notion
restart: always
ports:
- 3000:3000
environment:
START_PAGE_URL: https://fluorescent-trawler-4fe.notion.site/Notion-Custom-Domain-2a8cdabb8ab440579ca40950d79a04b5
GA_TRACKING_ID:
flowchart
origin(https://fluorescent-trawler-4fe.notion.site/Notion-Custom-Domain-2a8cdabb8ab440579ca40950d79a04b5)
target(https://notion-custom-domain.hosso.co)
origin --> target
click origin href "https://fluorescent-trawler-4fe.notion.site/Notion-Custom-Domain-2a8cdabb8ab440579ca40950d79a04b5"
click target href "https://notion-custom-domain.hosso.co"