fix: Dev Containerの設定を修正 (#9921)
* Dev Containerの設定を修正 * CONTRIBUTING.mdにDev Container使用時の注意書きを追加 * 注意書きを改行する
This commit is contained in:
parent
5cf5b66696
commit
c7fbf5637f
4 changed files with 9 additions and 6 deletions
|
|
@ -7,7 +7,7 @@ services:
|
|||
dockerfile: Dockerfile
|
||||
|
||||
volumes:
|
||||
- ../..:/workspaces:cached
|
||||
- ../:/workspace:cached
|
||||
|
||||
command: sleep infinity
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ services:
|
|||
networks:
|
||||
- internal_network
|
||||
volumes:
|
||||
- ../redis:/data
|
||||
- redis-data:/data
|
||||
healthcheck:
|
||||
test: "redis-cli ping"
|
||||
interval: 5s
|
||||
|
|
@ -37,7 +37,7 @@ services:
|
|||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: misskey
|
||||
volumes:
|
||||
- ../db:/var/lib/postgresql/data
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
|
||||
interval: 5s
|
||||
|
|
@ -45,6 +45,7 @@ services:
|
|||
|
||||
volumes:
|
||||
postgres-data:
|
||||
redis-data:
|
||||
|
||||
networks:
|
||||
internal_network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue