2022-04-29 02:55:01 +00:00
|
|
|
version: "3"
|
|
|
|
networks:
|
|
|
|
nocobase:
|
|
|
|
driver: bridge
|
|
|
|
services:
|
|
|
|
app:
|
2022-08-15 08:12:12 +00:00
|
|
|
image: nocobase/nocobase:0.7.4-alpha.7
|
2022-04-29 02:55:01 +00:00
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
environment:
|
|
|
|
- DB_DIALECT=postgres
|
|
|
|
- DB_HOST=postgres
|
|
|
|
- DB_DATABASE=nocobase
|
|
|
|
- DB_USER=nocobase
|
|
|
|
- DB_PASSWORD=nocobase
|
|
|
|
- LOCAL_STORAGE_BASE_URL=http://localhost:13000/storage/uploads
|
|
|
|
volumes:
|
|
|
|
- ./storage:/app/nocobase/storage
|
|
|
|
ports:
|
|
|
|
- "13000:80"
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
postgres:
|
|
|
|
image: postgres:10
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
command: postgres -c wal_level=logical
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: nocobase
|
|
|
|
POSTGRES_DB: nocobase
|
|
|
|
POSTGRES_PASSWORD: nocobase
|