File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ async function createDbConfigFromEnvironment() {
9595 client : 'sqlite3' ,
9696 connection : {
9797 filename : envSqliteFile
98- }
98+ } ,
99+ useNullAsDefault : true
99100 }
100101 } ;
101102 if ( JSON . stringify ( configData . database ) === JSON . stringify ( newConfig ) ) {
Original file line number Diff line number Diff line change @@ -122,18 +122,15 @@ services:
122122 depends_on:
123123 - db
124124 db:
125- image: ghcr.io/linuxserver/ mariadb
125+ image: yobasystems/alpine- mariadb:latest
126126 restart: unless-stopped
127127 environment:
128- PUID: 1001
129- PGID: 1001
130- TZ: "Europe/London"
131128 MYSQL_ROOT_PASSWORD: "changeme"
132129 MYSQL_DATABASE: "npm"
133130 MYSQL_USER: "changeuser"
134131 MYSQL_PASSWORD: "changepass"
135132 volumes:
136- - ./data/mariadb:/config
133+ - ./data/mariadb:/var/lib/mysql
137134` ` `
138135
139136_Please note, that `DB_MYSQL_*` environment variables will take precedent over `DB_SQLITE_*` var>
@@ -185,7 +182,8 @@ Here's an example for `sqlite` configuration as it is generated from the environ
185182 "client": "sqlite3",
186183 "connection": {
187184 "filename": "/data/database.sqlite"
188- }
185+ },
186+ "useNullAsDefault": true
189187 }
190188 }
191189}
You can’t perform that action at this time.
0 commit comments