Refactor Docker configuration for PostgreSQL migration: Remove SQLite volume from docker-compose.yml, update Dockerfile to eliminate SQLite dependencies, and adjust README files to reflect PostgreSQL setup. Delete migration script and related documentation as part of the transition to PostgreSQL.
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2m25s

This commit is contained in:
Julien Froidefond
2025-12-17 12:29:13 +01:00
parent 20c3043572
commit 5875813f2f
10 changed files with 64 additions and 696 deletions

95
pnpm-lock.yaml generated
View File

@@ -8,9 +8,6 @@ importers:
.:
dependencies:
'@prisma/adapter-better-sqlite3':
specifier: ^7.1.0
version: 7.1.0
'@prisma/adapter-pg':
specifier: ^7.1.0
version: 7.1.0
@@ -20,9 +17,6 @@ importers:
bcryptjs:
specifier: ^3.0.3
version: 3.0.3
better-sqlite3:
specifier: ^12.5.0
version: 12.5.0
next:
specifier: 15.5.9
version: 15.5.9(@babel/core@7.28.5)(react-dom@19.2.1(react@19.2.1))(react@19.2.1)
@@ -45,9 +39,6 @@ importers:
'@types/bcryptjs':
specifier: ^3.0.0
version: 3.0.0
'@types/better-sqlite3':
specifier: ^7.6.13
version: 7.6.13
'@types/node':
specifier: ^22.0.0
version: 22.19.1
@@ -677,9 +668,6 @@ packages:
'@panva/hkdf@1.2.1':
resolution: {integrity: sha512-6oclG6Y3PiDFcoyk8srjLfVKyMfVCKJ27JwNPViuXziFpmdz+MZnZN/aKY0JGXgYuO/VghU0jcOAZgWXZ1Dmrw==}
'@prisma/adapter-better-sqlite3@7.1.0':
resolution: {integrity: sha512-Ex4CimAONWMoUrhU27lpGXb4MdX/59qj+4PBTIuPVJLXZfTxSWuU8KowlRtq1w5iE91WiwMgU1KgeBOKJ81nEA==}
'@prisma/adapter-pg@7.1.0':
resolution: {integrity: sha512-DSAnUwkKfX4bUzhkrjGN4IBQzwg0nvFw2W17H0Oa532I5w9nLtTJ9mAEGDs1nUBEGRAsa0c7qsf8CSgfJ4DsBQ==}
@@ -754,9 +742,6 @@ packages:
resolution: {integrity: sha512-WRZOuCuaz8UcZZE4R5HXTco2goQSI2XxjGY3hbM/xDvwmqFWd4ivooImsMx65OKM6CtNKbnZ5YL+YwAwK7c1dg==}
deprecated: This is a stub types definition. bcryptjs provides its own type definitions, so you do not need this installed.
'@types/better-sqlite3@7.6.13':
resolution: {integrity: sha512-NMv9ASNARoKksWtsq/SHakpYAYnhBrQgGD8zkLYk/jaK8jUGn08CfEdTRgYhMypUQAfzSP8W6gNLe0q19/t4VA==}
'@types/estree@1.0.8':
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
@@ -3160,11 +3145,6 @@ snapshots:
'@panva/hkdf@1.2.1': {}
'@prisma/adapter-better-sqlite3@7.1.0':
dependencies:
'@prisma/driver-adapter-utils': 7.1.0
better-sqlite3: 12.5.0
'@prisma/adapter-pg@7.1.0':
dependencies:
'@prisma/driver-adapter-utils': 7.1.0
@@ -3269,10 +3249,6 @@ snapshots:
dependencies:
bcryptjs: 3.0.3
'@types/better-sqlite3@7.6.13':
dependencies:
'@types/node': 22.19.1
'@types/estree@1.0.8': {}
'@types/json-schema@7.0.15': {}
@@ -3570,7 +3546,8 @@ snapshots:
balanced-match@1.0.2: {}
base64-js@1.5.1: {}
base64-js@1.5.1:
optional: true
baseline-browser-mapping@2.9.5: {}
@@ -3580,18 +3557,21 @@ snapshots:
dependencies:
bindings: 1.5.0
prebuild-install: 7.1.3
optional: true
binary-extensions@2.3.0: {}
bindings@1.5.0:
dependencies:
file-uri-to-path: 1.0.0
optional: true
bl@4.1.0:
dependencies:
buffer: 5.7.1
inherits: 2.0.4
readable-stream: 3.6.2
optional: true
brace-expansion@1.1.12:
dependencies:
@@ -3618,6 +3598,7 @@ snapshots:
dependencies:
base64-js: 1.5.1
ieee754: 1.2.1
optional: true
c12@3.1.0:
dependencies:
@@ -3689,7 +3670,8 @@ snapshots:
dependencies:
readdirp: 4.1.2
chownr@1.1.4: {}
chownr@1.1.4:
optional: true
citty@0.1.6:
dependencies:
@@ -3754,8 +3736,10 @@ snapshots:
decompress-response@6.0.0:
dependencies:
mimic-response: 3.1.0
optional: true
deep-extend@0.6.0: {}
deep-extend@0.6.0:
optional: true
deep-is@0.1.4: {}
@@ -3779,7 +3763,8 @@ snapshots:
destr@2.0.5: {}
detect-libc@2.1.2: {}
detect-libc@2.1.2:
optional: true
didyoumean@1.2.2: {}
@@ -3813,6 +3798,7 @@ snapshots:
end-of-stream@1.4.5:
dependencies:
once: 1.4.0
optional: true
es-abstract@1.24.0:
dependencies:
@@ -4151,7 +4137,8 @@ snapshots:
esutils@2.0.3: {}
expand-template@2.0.3: {}
expand-template@2.0.3:
optional: true
exsolve@1.0.8: {}
@@ -4193,7 +4180,8 @@ snapshots:
dependencies:
flat-cache: 4.0.1
file-uri-to-path@1.0.0: {}
file-uri-to-path@1.0.0:
optional: true
fill-range@7.1.1:
dependencies:
@@ -4222,7 +4210,8 @@ snapshots:
fraction.js@5.3.4: {}
fs-constants@1.0.0: {}
fs-constants@1.0.0:
optional: true
fsevents@2.3.3:
optional: true
@@ -4287,7 +4276,8 @@ snapshots:
nypm: 0.6.2
pathe: 2.0.3
github-from-package@0.0.0: {}
github-from-package@0.0.0:
optional: true
glob-parent@5.1.2:
dependencies:
@@ -4350,7 +4340,8 @@ snapshots:
dependencies:
safer-buffer: 2.1.2
ieee754@1.2.1: {}
ieee754@1.2.1:
optional: true
ignore@5.3.2: {}
@@ -4363,9 +4354,11 @@ snapshots:
imurmurhash@0.1.4: {}
inherits@2.0.4: {}
inherits@2.0.4:
optional: true
ini@1.3.8: {}
ini@1.3.8:
optional: true
internal-slot@1.1.0:
dependencies:
@@ -4587,7 +4580,8 @@ snapshots:
braces: 3.0.3
picomatch: 2.3.1
mimic-response@3.1.0: {}
mimic-response@3.1.0:
optional: true
minimatch@3.1.2:
dependencies:
@@ -4599,7 +4593,8 @@ snapshots:
minimist@1.2.8: {}
mkdirp-classic@0.5.3: {}
mkdirp-classic@0.5.3:
optional: true
ms@2.1.3: {}
@@ -4627,7 +4622,8 @@ snapshots:
nanoid@3.3.11: {}
napi-build-utils@2.0.0: {}
napi-build-utils@2.0.0:
optional: true
napi-postinstall@0.3.4: {}
@@ -4665,6 +4661,7 @@ snapshots:
node-abi@3.85.0:
dependencies:
semver: 7.7.3
optional: true
node-fetch-native@1.6.7: {}
@@ -4733,6 +4730,7 @@ snapshots:
once@1.4.0:
dependencies:
wrappy: 1.0.2
optional: true
optionator@0.9.4:
dependencies:
@@ -4902,6 +4900,7 @@ snapshots:
simple-get: 4.0.1
tar-fs: 2.1.4
tunnel-agent: 0.6.0
optional: true
prelude-ls@1.2.1: {}
@@ -4940,6 +4939,7 @@ snapshots:
dependencies:
end-of-stream: 1.4.5
once: 1.4.0
optional: true
punycode@2.3.1: {}
@@ -4958,6 +4958,7 @@ snapshots:
ini: 1.3.8
minimist: 1.2.8
strip-json-comments: 2.0.1
optional: true
react-dom@19.2.1(react@19.2.1):
dependencies:
@@ -4977,6 +4978,7 @@ snapshots:
inherits: 2.0.4
string_decoder: 1.3.0
util-deprecate: 1.0.2
optional: true
readdirp@3.6.0:
dependencies:
@@ -5042,7 +5044,8 @@ snapshots:
has-symbols: 1.1.0
isarray: 2.0.5
safe-buffer@5.2.1: {}
safe-buffer@5.2.1:
optional: true
safe-push-apply@1.0.0:
dependencies:
@@ -5157,13 +5160,15 @@ snapshots:
signal-exit@4.1.0: {}
simple-concat@1.0.1: {}
simple-concat@1.0.1:
optional: true
simple-get@4.0.1:
dependencies:
decompress-response: 6.0.0
once: 1.4.0
simple-concat: 1.0.1
optional: true
source-map-js@1.2.1: {}
@@ -5233,10 +5238,12 @@ snapshots:
string_decoder@1.3.0:
dependencies:
safe-buffer: 5.2.1
optional: true
strip-bom@3.0.0: {}
strip-json-comments@2.0.1: {}
strip-json-comments@2.0.1:
optional: true
strip-json-comments@3.1.1: {}
@@ -5297,6 +5304,7 @@ snapshots:
mkdirp-classic: 0.5.3
pump: 3.0.3
tar-stream: 2.2.0
optional: true
tar-stream@2.2.0:
dependencies:
@@ -5305,6 +5313,7 @@ snapshots:
fs-constants: 1.0.0
inherits: 2.0.4
readable-stream: 3.6.2
optional: true
thenify-all@1.6.0:
dependencies:
@@ -5350,6 +5359,7 @@ snapshots:
tunnel-agent@0.6.0:
dependencies:
safe-buffer: 5.2.1
optional: true
type-check@0.4.0:
dependencies:
@@ -5499,7 +5509,8 @@ snapshots:
word-wrap@1.2.5: {}
wrappy@1.0.2: {}
wrappy@1.0.2:
optional: true
xtend@4.0.2: {}