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() {
95
95
client : 'sqlite3' ,
96
96
connection : {
97
97
filename : envSqliteFile
98
- }
98
+ } ,
99
+ useNullAsDefault : true
99
100
}
100
101
} ;
101
102
if ( JSON . stringify ( configData . database ) === JSON . stringify ( newConfig ) ) {
Original file line number Diff line number Diff line change @@ -122,18 +122,15 @@ services:
122
122
depends_on:
123
123
- db
124
124
db:
125
- image: ghcr.io/linuxserver/ mariadb
125
+ image: yobasystems/alpine- mariadb:latest
126
126
restart: unless-stopped
127
127
environment:
128
- PUID: 1001
129
- PGID: 1001
130
- TZ: "Europe/London"
131
128
MYSQL_ROOT_PASSWORD: "changeme"
132
129
MYSQL_DATABASE: "npm"
133
130
MYSQL_USER: "changeuser"
134
131
MYSQL_PASSWORD: "changepass"
135
132
volumes:
136
- - ./data/mariadb:/config
133
+ - ./data/mariadb:/var/lib/mysql
137
134
` ` `
138
135
139
136
_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
185
182
"client": "sqlite3",
186
183
"connection": {
187
184
"filename": "/data/database.sqlite"
188
- }
185
+ },
186
+ "useNullAsDefault": true
189
187
}
190
188
}
191
189
}
You can’t perform that action at this time.
0 commit comments