mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 12:47:44 +08:00
4404f5fa13
* feat: add @nocobase/plugin-field-encryption * fix: bug * fix: hook * fix: add operators * feat: add hidden * fix: i18n * fix: bug * feat: env add ENCRYPTION_FIELD_KEY * fix: exception handling * fix: error message i18n * fix: add `addFieldInterfaces()` alias * fix: bug * fix: bug * fix: bug * fix: bug * fix: workflow env * fix: bug * fix: e2e * fix: e2e bug * fix: move `checkKey()` to field * fix: move EncryptionField to database package * fix: move encryption plugin to pro * chore: encryption field in field type map * fix: unit test * fix: remove console * fix: add more value check * fix: bug * fix: bug * fix: bug --------- Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: Chareice <chareice@live.com>
38 lines
864 B
YAML
38 lines
864 B
YAML
version: "3"
|
|
networks:
|
|
nocobase:
|
|
driver: bridge
|
|
services:
|
|
app:
|
|
image: nocobase/nocobase:latest
|
|
networks:
|
|
- nocobase
|
|
depends_on:
|
|
- mysql
|
|
environment:
|
|
- APP_KEY=your-secret-key # Replace it with your own app key
|
|
- ENCRYPTION_FIELD_KEY=your-secret-key # Replace it with your own app key
|
|
- DB_DIALECT=mysql
|
|
- DB_HOST=mysql
|
|
- DB_DATABASE=nocobase
|
|
- DB_USER=root
|
|
- DB_PASSWORD=nocobase
|
|
- DB_TIMEZONE=+08:00
|
|
volumes:
|
|
- ./storage:/app/nocobase/storage
|
|
ports:
|
|
- "13000:80"
|
|
init: true
|
|
mysql:
|
|
image: mysql:latest
|
|
environment:
|
|
MYSQL_DATABASE: nocobase
|
|
MYSQL_USER: nocobase
|
|
MYSQL_PASSWORD: nocobase
|
|
MYSQL_ROOT_PASSWORD: nocobase
|
|
restart: always
|
|
volumes:
|
|
- ./storage/db/mysql:/var/lib/mysql
|
|
networks:
|
|
- nocobase
|