chore: update docker examples

This commit is contained in:
chenos 2024-04-08 09:27:02 +08:00
parent d14f8d23d7
commit a712d27260
3 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@ services:
- DB_DIALECT=mariadb - DB_DIALECT=mariadb
- DB_HOST=mariadb - DB_HOST=mariadb
- DB_DATABASE=nocobase - DB_DATABASE=nocobase
- DB_USER=nocobase - DB_USER=root
- DB_PASSWORD=nocobase - DB_PASSWORD=nocobase
- DB_TIMEZONE=+08:00 - DB_TIMEZONE=+08:00
- DB_UNDERSCORED=true - DB_UNDERSCORED=true
@ -22,6 +22,7 @@ services:
- ./storage:/app/nocobase/storage - ./storage:/app/nocobase/storage
ports: ports:
- "13000:80" - "13000:80"
init: true
mariadb: mariadb:
image: mariadb:latest image: mariadb:latest
environment: environment:

View File

@ -21,6 +21,7 @@ services:
- ./storage:/app/nocobase/storage - ./storage:/app/nocobase/storage
ports: ports:
- "13000:80" - "13000:80"
init: true
mysql: mysql:
image: mysql:latest image: mysql:latest
environment: environment:

View File

@ -20,6 +20,7 @@ services:
- "13000:80" - "13000:80"
depends_on: depends_on:
- postgres - postgres
init: true
postgres: postgres:
image: postgres:10 image: postgres:10
restart: always restart: always