mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 02:14:48 +00:00
Update db service example (#193)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
3825abb2d8
commit
3dcc7d7a69
4 changed files with 12 additions and 12 deletions
|
|
@ -2,14 +2,14 @@ version: "3.5"
|
|||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.4
|
||||
image: mariadb:10.5
|
||||
container_name: librenms_db
|
||||
command:
|
||||
- "mysqld"
|
||||
- "--innodb-file-per-table=1"
|
||||
- "--lower-case-table-names=0"
|
||||
- "--character-set-server=utf8"
|
||||
- "--collation-server=utf8_unicode_ci"
|
||||
- "--character-set-server=utf8mb4"
|
||||
- "--collation-server=utf8mb4_unicode_ci"
|
||||
volumes:
|
||||
- "./db:/var/lib/mysql"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -23,13 +23,13 @@ x-envlibrenms: &envlibrenms
|
|||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.4
|
||||
image: mariadb:10.5
|
||||
command:
|
||||
- "mysqld"
|
||||
- "--innodb-file-per-table=1"
|
||||
- "--lower-case-table-names=0"
|
||||
- "--character-set-server=utf8"
|
||||
- "--collation-server=utf8_unicode_ci"
|
||||
- "--character-set-server=utf8mb4"
|
||||
- "--collation-server=utf8mb4_unicode_ci"
|
||||
volumes:
|
||||
- "db:/var/lib/mysql"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ version: "3.5"
|
|||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.4
|
||||
image: mariadb:10.5
|
||||
container_name: librenms_db
|
||||
command:
|
||||
- "mysqld"
|
||||
- "--innodb-file-per-table=1"
|
||||
- "--lower-case-table-names=0"
|
||||
- "--character-set-server=utf8"
|
||||
- "--collation-server=utf8_unicode_ci"
|
||||
- "--character-set-server=utf8mb4"
|
||||
- "--collation-server=utf8mb4_unicode_ci"
|
||||
volumes:
|
||||
- "./db:/var/lib/mysql"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -36,14 +36,14 @@ services:
|
|||
restart: always
|
||||
|
||||
db:
|
||||
image: mariadb:10.4
|
||||
image: mariadb:10.5
|
||||
container_name: librenms_db
|
||||
command:
|
||||
- "mysqld"
|
||||
- "--innodb-file-per-table=1"
|
||||
- "--lower-case-table-names=0"
|
||||
- "--character-set-server=utf8"
|
||||
- "--collation-server=utf8_unicode_ci"
|
||||
- "--character-set-server=utf8mb4"
|
||||
- "--collation-server=utf8mb4_unicode_ci"
|
||||
volumes:
|
||||
- "./db:/var/lib/mysql"
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue