mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 20:27:22 +00:00
32 lines
711 B
YAML
32 lines
711 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
|
|
- 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
|
|
postgres:
|
|
image: postgres:10
|
|
restart: always
|
|
command: postgres -c wal_level=logical
|
|
environment:
|
|
POSTGRES_USER: nocobase
|
|
POSTGRES_DB: nocobase
|
|
POSTGRES_PASSWORD: nocobase
|
|
networks:
|
|
- nocobase |