forked from misskey-dev/misskey
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: github actionsでdockerイメージをビルドする * fix: change workflow name and install ca * fix: apt-getで運が悪いとコケる対策 * fix: 開発環境が動作するように * enhance: 開発環境のtscをswcに変更 * feat: 開発環境をいい感じ™にした * feat: add devcontainer
- Loading branch information
Showing
11 changed files
with
296 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "taiyme/misskey dev", | ||
"dockerComposeFile": ["../docker-compose.dev.yml"], | ||
"service": "web", | ||
"workspaceFolder": "/workspaces" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM node:lts | ||
|
||
RUN apt update && apt install -y git | ||
|
||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ | ||
COPY packages/backend/package.json ./packages/backend/ | ||
COPY packages/client/package.json ./packages/client/ | ||
COPY packages/sw/package.json ./packages/sw/ | ||
|
||
RUN corepack enable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
version: '3' | ||
services: | ||
web: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.dev | ||
ports: | ||
- 3000:3000 | ||
networks: | ||
- internal_network | ||
- external_network | ||
tty: true | ||
volumes: | ||
- .:/workspaces:cached | ||
- ./.config:/misskey/.config:ro | ||
depends_on: | ||
- db | ||
- redis | ||
|
||
redis: | ||
restart: always | ||
image: redis:4.0-alpine | ||
networks: | ||
- internal_network | ||
volumes: | ||
- ./redis:/data | ||
|
||
db: | ||
restart: always | ||
image: postgres:12.2-alpine | ||
networks: | ||
- internal_network | ||
env_file: | ||
- ./.config/docker.env | ||
volumes: | ||
- ./db:/var/lib/postgresql/data | ||
|
||
networks: | ||
internal_network: | ||
internal: true | ||
external_network: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"name": "client", | ||
"private": true, | ||
"scripts": { | ||
"watch": "vite build --watch --mode development", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.