Files

36 lines
875 B
YAML
Raw Permalink Normal View History

2022-04-29 10:55:01 +08:00
version: "3"
2022-12-23 10:27:37 +08:00
networks:
nocobase:
driver: bridge
2022-04-29 10:55:01 +08:00
services:
app:
2024-01-13 18:36:11 +08:00
image: nocobase/nocobase:latest
2022-04-29 10:55:01 +08:00
networks:
- nocobase
environment:
2024-01-13 18:36:11 +08:00
- APP_KEY=your-secret-key # Replace it with your own app key
2024-08-09 17:14:37 +08:00
- ENCRYPTION_FIELD_KEY=your-secret-key # Replace it with your own app key
2022-04-29 10:55:01 +08:00
- 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
2024-04-08 09:27:02 +08:00
init: true
2022-04-29 10:55:01 +08:00
postgres:
image: postgres:10
restart: always
command: postgres -c wal_level=logical
environment:
POSTGRES_USER: nocobase
POSTGRES_DB: nocobase
2022-11-28 00:41:58 -08:00
POSTGRES_PASSWORD: nocobase
2024-03-28 10:44:55 +08:00
volumes:
- ./storage/db/postgres:/var/lib/postgresql/data
2022-12-23 10:27:37 +08:00
networks:
2024-08-09 17:14:37 +08:00
- nocobase