tidy
This commit is contained in:
parent
8a3a36f0c2
commit
cb12014ecb
2 changed files with 2 additions and 3 deletions
|
@ -88,7 +88,7 @@ Deployment of the source of truth can be done with Docker Compose:
|
||||||
container_name: backend
|
container_name: backend
|
||||||
build:
|
build:
|
||||||
# this uses loopback to hit the self-hosted git server
|
# this uses loopback to hit the self-hosted git server
|
||||||
context: http://localhost:3000/clo/sitegen.git
|
context: http://127.0.0.1:3000/clo/sitegen.git
|
||||||
dockerfile: src/source-of-truth.dockerfile
|
dockerfile: src/source-of-truth.dockerfile
|
||||||
environment:
|
environment:
|
||||||
# configuration
|
# configuration
|
||||||
|
@ -105,7 +105,7 @@ Deployment of the source of truth can be done with Docker Compose:
|
||||||
- /mnt/storage1/clover/Published:/published
|
- /mnt/storage1/clover/Published:/published
|
||||||
|
|
||||||
Due to caching, one may need to manually purge images via
|
Due to caching, one may need to manually purge images via
|
||||||
`docker image rm ix-paperclover-backend -f` when an update is desired
|
`docker image rm ix-clover-backend -f` when an update is desired
|
||||||
|
|
||||||
TODO: deployment instructions for a web node
|
TODO: deployment instructions for a web node
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@ app.get("/file/*", async (c) => {
|
||||||
? path.join(derivedFileRoot, file.hash, derivedAsset)
|
? path.join(derivedFileRoot, file.hash, derivedAsset)
|
||||||
: path.join(rawFileRoot, file.path);
|
: path.join(rawFileRoot, file.path);
|
||||||
let handle: { fd: number; refs: number } | null = null;
|
let handle: { fd: number; refs: number } | null = null;
|
||||||
console.log("start", fullPath);
|
|
||||||
try {
|
try {
|
||||||
handle = await fds.get(fullPath) ?? null;
|
handle = await fds.get(fullPath) ?? null;
|
||||||
if (!handle) {
|
if (!handle) {
|
||||||
|
|
Loading…
Reference in a new issue