db to lts
This commit is contained in:
@@ -2,13 +2,14 @@ version: "3"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.5
|
||||
image: mariadb:lts
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_DATABASE=photoview
|
||||
- MYSQL_USER=photoview
|
||||
- MYSQL_PASSWORD=photosecret
|
||||
- MYSQL_RANDOM_ROOT_PASSWORD=1
|
||||
- MARIADB_AUTO_UPGRADE=1
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
|
||||
|
||||
Reference in New Issue
Block a user