Skip to content

Commit a712d27

Browse files
committed
chore: update docker examples
1 parent d14f8d2 commit a712d27

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docker/app-mariadb/docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ services:
1414
- DB_DIALECT=mariadb
1515
- DB_HOST=mariadb
1616
- DB_DATABASE=nocobase
17-
- DB_USER=nocobase
17+
- DB_USER=root
1818
- DB_PASSWORD=nocobase
1919
- DB_TIMEZONE=+08:00
2020
- DB_UNDERSCORED=true
2121
volumes:
2222
- ./storage:/app/nocobase/storage
2323
ports:
2424
- "13000:80"
25+
init: true
2526
mariadb:
2627
image: mariadb:latest
2728
environment:

docker/app-mysql/docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ services:
2121
- ./storage:/app/nocobase/storage
2222
ports:
2323
- "13000:80"
24+
init: true
2425
mysql:
2526
image: mysql:latest
2627
environment:

docker/app-postgres/docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ services:
2020
- "13000:80"
2121
depends_on:
2222
- postgres
23+
init: true
2324
postgres:
2425
image: postgres:10
2526
restart: always

0 commit comments

Comments
 (0)