parent
b872234b6d
commit
c652e6c727
5 changed files with 368 additions and 357 deletions
|
@ -74,4 +74,4 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
|
|||
ENV NODE_ENV=production
|
||||
VOLUME "/firefish/files"
|
||||
ENTRYPOINT [ "/usr/bin/tini", "--" ]
|
||||
CMD [ "pnpm", "run", "migrateandstart" ]
|
||||
CMD [ "pnpm", "run", "start:container" ]
|
||||
|
|
|
@ -19,6 +19,7 @@ services:
|
|||
environment:
|
||||
NODE_ENV: production
|
||||
volumes:
|
||||
- ./custom:/firefish/custom:ro
|
||||
- ./files:/firefish/files
|
||||
- ./.config:/firefish/.config:ro
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
# Unreleased
|
||||
|
||||
## For Docker/Podman users
|
||||
|
||||
- The bug where `custom` directory was not working has (finally) been fixed. Please add the `custom` directory to `volumes` in your `docker-compose.yml`:
|
||||
```yaml
|
||||
services:
|
||||
web:
|
||||
image: registry.firefish.dev/firefish/firefish:latest
|
||||
# and so on ...
|
||||
|
||||
volumes:
|
||||
- ./custom:/firefish/custom:ro # <- Please add this line
|
||||
- ./files:/firefish/files
|
||||
- ./.config:/firefish/.config:ro
|
||||
```
|
||||
|
||||
# v20240222
|
||||
|
||||
## For Docker/Podman users
|
||||
|
|
12
package.json
12
package.json
|
@ -11,11 +11,11 @@
|
|||
"rebuild": "pnpm run clean && pnpm run build",
|
||||
"build": "pnpm node ./scripts/build.mjs && pnpm run gulp",
|
||||
"start": "pnpm --filter backend run start",
|
||||
"start:container": "pnpm run gulp && pnpm run migrate && pnpm run start",
|
||||
"start:test": "pnpm --filter backend run start:test",
|
||||
"init": "pnpm run migrate",
|
||||
"migrate": "pnpm --filter backend run migrate",
|
||||
"revertmigration": "pnpm --filter backend run revertmigration",
|
||||
"migrateandstart": "pnpm run migrate && pnpm run start",
|
||||
"gulp": "gulp build",
|
||||
"watch": "pnpm run dev",
|
||||
"dev": "pnpm node ./scripts/dev.mjs",
|
||||
|
@ -40,6 +40,11 @@
|
|||
"@bull-board/ui": "5.14.1",
|
||||
"@napi-rs/cli": "^2.18.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-cssnano": "2.1.3",
|
||||
"gulp-rename": "2.0.0",
|
||||
"gulp-replace": "1.1.4",
|
||||
"gulp-terser": "2.1.0",
|
||||
"seedrandom": "^3.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -54,11 +59,6 @@
|
|||
"add": "2.0.6",
|
||||
"cross-env": "7.0.3",
|
||||
"execa": "8.0.1",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-cssnano": "2.1.3",
|
||||
"gulp-rename": "2.0.0",
|
||||
"gulp-replace": "1.1.4",
|
||||
"gulp-terser": "2.1.0",
|
||||
"install-peers": "^1.0.4",
|
||||
"pnpm": "8.15.3",
|
||||
"typescript": "5.3.3"
|
||||
|
|
693
pnpm-lock.yaml
693
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue