Skip to content

Commit

Permalink
Merge pull request #110 from crazy-max/compose-update
Browse files Browse the repository at this point in the history
examples: generate random password for db root
  • Loading branch information
crazy-max committed May 26, 2024
2 parents 29ce43b + d4717bc commit 3d67264
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/compose/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flarum

services:
db:
image: mariadb:10.5
image: mariadb:10
container_name: flarum_db
command:
- "mysqld"
Expand All @@ -12,7 +12,7 @@ services:
- "./db:/var/lib/mysql"
environment:
- "TZ"
- "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
- "MARIADB_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_DATABASE"
- "MYSQL_USER"
- "MYSQL_PASSWORD"
Expand Down
4 changes: 2 additions & 2 deletions examples/subfolder/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
restart: always

db:
image: mariadb:10.5
image: mariadb:10
container_name: flarum_db
command:
- "mysqld"
Expand All @@ -46,7 +46,7 @@ services:
- "./db:/var/lib/mysql"
environment:
- "TZ"
- "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
- "MARIADB_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_DATABASE"
- "MYSQL_USER"
- "MYSQL_PASSWORD"
Expand Down
4 changes: 2 additions & 2 deletions examples/traefik/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
restart: always

db:
image: mariadb:10.5
image: mariadb:10
container_name: flarum_db
command:
- "mysqld"
Expand All @@ -46,7 +46,7 @@ services:
- "./db:/var/lib/mysql"
environment:
- "TZ"
- "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
- "MARIADB_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_DATABASE"
- "MYSQL_USER"
- "MYSQL_PASSWORD"
Expand Down
4 changes: 2 additions & 2 deletions test/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flarum

services:
db:
image: mariadb:10.5
image: mariadb:10
container_name: flarum_db
command:
- "mysqld"
Expand All @@ -12,7 +12,7 @@ services:
- "./db:/var/lib/mysql"
environment:
- "TZ"
- "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
- "MARIADB_RANDOM_ROOT_PASSWORD=yes"
- "MYSQL_DATABASE"
- "MYSQL_USER"
- "MYSQL_PASSWORD"
Expand Down

0 comments on commit 3d67264

Please sign in to comment.