mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +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>
37 lines
875 B
YAML
37 lines
875 B
YAML
version: "3"
|
|
networks:
|
|
nocobase:
|
|
driver: bridge
|
|
services:
|
|
app:
|
|
image: nocobase/nocobase:latest
|
|
networks:
|
|
- nocobase
|
|
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=postgres
|
|
- DB_HOST=postgres
|
|
- DB_DATABASE=nocobase
|
|
- DB_USER=nocobase
|
|
- DB_PASSWORD=nocobase
|
|
volumes:
|
|
- ./storage:/app/nocobase/storage
|
|
ports:
|
|
- "13000:80"
|
|
depends_on:
|
|
- postgres
|
|
init: true
|
|
postgres:
|
|
image: postgres:10
|
|
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
|