PS:感觉是我目前用过最好用的笔记软件,个人自适应哈。 
特別提醒!网络要好好好!!:biggrin: ! 
1.界面UI真心不错 
2.本地部署,能AI写作,能外链分享 
第一步:新建文件夹Blinko,然后在此文件夹中新建data,sql两个文件夹 
  
第二步:Docker中,compose新建项目 
  
compose代码如下: 
networks:
blinko-network:
driver: bridge 
services:
blinko-website:
image: blinkospace/blinko:latest
container_name: blinko-website
environment:
NODE_ENV: production 
IMPORTANT: If you want to use sso, you must set NEXTAUTH_URL to your own domain
IMPORTANT: Replace this with your own secure secret key!
NEXTAUTH_SECRET: my_ultra_secure_nextauth_secret
DATABASE_URL: postgresql://postgres:mysecretpassword@postgres:5432/postgres
depends_on:
postgres:
condition: service_healthy 
Make sure you have enough permissions.
volumes: 
- /vol1/1000/Docker/Blinko/data:/app/.blinko
restart: always
logging:
options:
max-size: "10m"
max-file: "3"
ports:
 
- 1111:1111
healthcheck:
test: ["CMD", "curl", "-f", "http://blinko-website:1111/"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
networks:
 
- blinko-network
 
 
postgres:
  image: postgres:14
  container_name: blinko-postgres
  restart: always
  ports:
    - 5435:5432
  environment:
    POSTGRES_DB: postgres
    POSTGRES_USER: postgres
    POSTGRES_PASSWORD: mysecretpassword
    TZ: Asia/Shanghai
  # Persisting container data
  # Make sure you have enough permissions.
  volumes:
   - /vol1/1000/Docker/Blinko/sql:/var/lib/postgresql/data
  healthcheck:
    test:
      ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"]
    interval: 5s
    timeout: 10s
    retries: 5
  networks:
    - blinko-network 
注意事项:替换为你自己建立的data路径 
  
注意事项:替换为你自己建立的sql路径 
  
第三步:运行,自动拉取镜像,注意:拉取时间与网络有关,一定要显示Exited:0才完成。如下图 
  
最后:访问ip+1111,然后注册账户 
  
 
  |