2022-04-29 02:55:01 +00:00
|
|
|
version: "3"
|
|
|
|
networks:
|
|
|
|
nocobase:
|
|
|
|
driver: bridge
|
|
|
|
services:
|
|
|
|
app:
|
2022-08-12 02:54:10 +00:00
|
|
|
image: nocobase/nocobase:0.7.4-alpha.4
|
2022-04-29 02:55:01 +00:00
|
|
|
networks:
|
|
|
|
- nocobase
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
environment:
|
|
|
|
- DB_DIALECT=mysql
|
|
|
|
- DB_HOST=mysql
|
|
|
|
- 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"
|
|
|
|
mysql:
|
|
|
|
image: mysql:8
|
|
|
|
environment:
|
|
|
|
MYSQL_DATABASE: nocobase
|
|
|
|
MYSQL_USER: nocobase
|
|
|
|
MYSQL_PASSWORD: nocobase
|
|
|
|
MYSQL_ROOT_PASSWORD: nocobase
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- nocobase
|