Inital commit

This commit is contained in:
CyberRex
2026-08-19 13:55:59 +09:00
commit d61554d8b9
735 changed files with 86553 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM node:22-bookworm-slim AS build
WORKDIR /misskey
COPY package.json package-lock.json .npmrc ./
RUN npm ci --no-audit --no-fund
COPY . .
RUN cp docker/default.yml .config/default.yml \
&& cp docker/test.yml .config/test.yml \
&& NODE_ENV=production npm run build
FROM node:22-bookworm-slim AS runtime
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates imagemagick \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /misskey
ENV NODE_ENV=production
COPY --from=build /misskey ./
EXPOSE 3000
CMD ["npm", "start"]
+29
View File
@@ -0,0 +1,29 @@
maintainer: '@local'
url: 'http://localhost:3000'
port: 3000
https: null
mongodb:
host: mongodb
port: 27017
db: misskey
user: null
pass: null
redis:
host: redis
port: 6379
pass: null
elasticsearch:
enable: false
host: localhost
port: 9200
pass: null
recaptcha:
site_key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
secret_key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
+22
View File
@@ -0,0 +1,22 @@
maintainer: '@local'
url: 'http://localhost:3000'
port: 3000
https: null
mongodb:
host: mongodb
port: 27017
db: test-misskey
user: null
pass: null
redis:
host: redis
port: 6379
pass: null
elasticsearch:
enable: false
host: localhost
port: 9200
pass: null
recaptcha:
site_key: test
secret_key: test