mirror of
https://github.com/kou029w/quot.git
synced 2025-01-31 14:28:06 +00:00
Compare commits
No commits in common. "23e6bf327bc2c79fca62e79b38920016f299ee9a" and "787f97dcd7bc89b3a3a293e15bba51f778c3361a" have entirely different histories.
23e6bf327b
...
787f97dcd7
5 changed files with 8 additions and 10 deletions
|
@ -6,7 +6,7 @@ COPY --from=api /bin/postgrest /usr/bin/
|
||||||
COPY --from=dbmate /usr/local/bin/dbmate /usr/bin/
|
COPY --from=dbmate /usr/local/bin/dbmate /usr/bin/
|
||||||
COPY ./db ./db
|
COPY ./db ./db
|
||||||
COPY ./app ./app
|
COPY ./app ./app
|
||||||
RUN npm --prefix app ci --omit=dev
|
RUN npm --prefix app ci --production
|
||||||
COPY ./docker-entrypoint.sh /
|
COPY ./docker-entrypoint.sh /
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
COPY ./supervisord.conf /
|
COPY ./supervisord.conf /
|
||||||
|
|
|
@ -9,7 +9,7 @@ declare module "fastify" {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function App(config: Config = defaultConfig()): FastifyInstance {
|
export function App(config: Config = defaultConfig()): FastifyInstance {
|
||||||
const app = fastify({ logger: { stream: process.stderr, level: "warn" } });
|
const app = fastify({ logger: true });
|
||||||
app.decorate("config", config).register(routes);
|
app.decorate("config", config).register(routes);
|
||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
|
8
app/package-lock.json
generated
8
app/package-lock.json
generated
|
@ -12,7 +12,6 @@
|
||||||
"@fastify/http-proxy": "^8.2.2",
|
"@fastify/http-proxy": "^8.2.2",
|
||||||
"@lexical/history": "^0.4.1",
|
"@lexical/history": "^0.4.1",
|
||||||
"@lexical/plain-text": "^0.4.1",
|
"@lexical/plain-text": "^0.4.1",
|
||||||
"@tsconfig/node18-strictest-esm": "^1.0.1",
|
|
||||||
"esbuild": "^0.15.7",
|
"esbuild": "^0.15.7",
|
||||||
"esbuild-register": "^3.3.3",
|
"esbuild-register": "^3.3.3",
|
||||||
"fastify": "^4.5.3",
|
"fastify": "^4.5.3",
|
||||||
|
@ -22,6 +21,7 @@
|
||||||
"solid-js": "^1.5.4"
|
"solid-js": "^1.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@tsconfig/node18-strictest-esm": "^1.0.1",
|
||||||
"@types/node": "^18.7.15",
|
"@types/node": "^18.7.15",
|
||||||
"typescript": "^4.8.2"
|
"typescript": "^4.8.2"
|
||||||
},
|
},
|
||||||
|
@ -195,7 +195,8 @@
|
||||||
"node_modules/@tsconfig/node18-strictest-esm": {
|
"node_modules/@tsconfig/node18-strictest-esm": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@tsconfig/node18-strictest-esm/-/node18-strictest-esm-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@tsconfig/node18-strictest-esm/-/node18-strictest-esm-1.0.1.tgz",
|
||||||
"integrity": "sha512-cHzmAqw7CMbyqROWeBgVhard3F2V6zxOSJnQ4E6SJWruXD5ypuP9/QKekwBdfXQ4oUTaizIICKIwb+v3v33t0w=="
|
"integrity": "sha512-cHzmAqw7CMbyqROWeBgVhard3F2V6zxOSJnQ4E6SJWruXD5ypuP9/QKekwBdfXQ4oUTaizIICKIwb+v3v33t0w==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "18.7.15",
|
"version": "18.7.15",
|
||||||
|
@ -1240,7 +1241,8 @@
|
||||||
"@tsconfig/node18-strictest-esm": {
|
"@tsconfig/node18-strictest-esm": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@tsconfig/node18-strictest-esm/-/node18-strictest-esm-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@tsconfig/node18-strictest-esm/-/node18-strictest-esm-1.0.1.tgz",
|
||||||
"integrity": "sha512-cHzmAqw7CMbyqROWeBgVhard3F2V6zxOSJnQ4E6SJWruXD5ypuP9/QKekwBdfXQ4oUTaizIICKIwb+v3v33t0w=="
|
"integrity": "sha512-cHzmAqw7CMbyqROWeBgVhard3F2V6zxOSJnQ4E6SJWruXD5ypuP9/QKekwBdfXQ4oUTaizIICKIwb+v3v33t0w==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "18.7.15",
|
"version": "18.7.15",
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
"@fastify/http-proxy": "^8.2.2",
|
"@fastify/http-proxy": "^8.2.2",
|
||||||
"@lexical/history": "^0.4.1",
|
"@lexical/history": "^0.4.1",
|
||||||
"@lexical/plain-text": "^0.4.1",
|
"@lexical/plain-text": "^0.4.1",
|
||||||
"@tsconfig/node18-strictest-esm": "^1.0.1",
|
|
||||||
"esbuild": "^0.15.7",
|
"esbuild": "^0.15.7",
|
||||||
"esbuild-register": "^3.3.3",
|
"esbuild-register": "^3.3.3",
|
||||||
"fastify": "^4.5.3",
|
"fastify": "^4.5.3",
|
||||||
|
@ -25,6 +24,7 @@
|
||||||
"solid-js": "^1.5.4"
|
"solid-js": "^1.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@tsconfig/node18-strictest-esm": "^1.0.1",
|
||||||
"@types/node": "^18.7.15",
|
"@types/node": "^18.7.15",
|
||||||
"typescript": "^4.8.2"
|
"typescript": "^4.8.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,6 @@ user = root
|
||||||
|
|
||||||
[program:app]
|
[program:app]
|
||||||
command = npm --prefix app start
|
command = npm --prefix app start
|
||||||
stderr_logfile = /dev/stderr
|
|
||||||
stderr_logfile_maxbytes = 0
|
|
||||||
|
|
||||||
[program:api]
|
[program:api]
|
||||||
command = postgrest
|
command = postgrest
|
||||||
stderr_logfile = /dev/stderr
|
|
||||||
stderr_logfile_maxbytes = 0
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue