所见即所得编辑 —— 不懂代码也能配置系统 虽然它不像 Notion 那样“傻瓜化”,但它有 WYSIWYG 编辑器,比如你配置一个表单、一个列表页、一个流程逻辑,基本都可以在 UI 上点击配置、可视化调整,不需要手写代码。这对业务人员来说已经足够了,对我们开发人员来说也省了不少手工造轮子的时间。
GitHub 项目地址: 👉 https://github.com/nocobase/nocobase
cat << EOF > docker-compose.yml
networks:
nocobase:
driver: bridge
services:
app:
image: nocobase/nocobase:latest
restart: always
networks:
- nocobase
depends_on:
- postgres
environment:
# The application's secret key, used to generate user tokens, etc.
# If APP_KEY is changed, old tokens will also become invalid.
# It can be any random string, and make sure it is not exposed.
- APP_KEY=your-secret-key
# Database type, supports postgres, mysql, mariadb
- DB_DIALECT=postgres
# Database host, can be replaced with the IP of an existing database server
- DB_HOST=postgres
# Database port
- DB_PORT=5432
# Database name
- DB_DATABASE=nocobase
# Database user
- DB_USER=nocobase
# Database password
- DB_PASSWORD=nocobase
# Timezone
- TZ=UTC
# Service platform username and password,
# used for automatically downloading and updating plugins.
- NOCOBASE_PKG_USERNAME=
- NOCOBASE_PKG_PASSWORD=
volumes:
- ./storage:/app/nocobase/storage
ports:
- '13000:80'
# init: true
# If using an existing database server, postgres service can be omitted
postgres:
image: postgres:16
restart: always
command: postgres -c wal_level=logical
environment:
POSTGRES_USER: nocobase
POSTGRES_DB: nocobase
POSTGRES_PASSWORD: nocobase
volumes:
- ./storage/db/postgres:/var/lib/postgresql/data
networks:
- nocobase
EOF
docker-compose up -d
docker-compose ps
devtunnel host -p 13000