Skip to content

Commit

Permalink
Revert "テストにkeydbを使うように"
Browse files Browse the repository at this point in the history
This reverts commit 191284b.
  • Loading branch information
u1-liquid committed Oct 28, 2023
1 parent 2cb601c commit 1826926
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ services:
- internal_network
- external_network

keydb:
redis:
restart: unless-stopped
image: eqalpha/keydb:latest
image: redis:7-alpine
networks:
- internal_network
volumes:
- keydb-data:/data
- redis-data:/data
healthcheck:
test: "keydb-cli ping"
test: "redis-cli ping"
interval: 5s
retries: 20

Expand All @@ -45,7 +45,7 @@ services:

volumes:
postgres-data:
keydb-data:
redis-data:

networks:
internal_network:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
keydb:
image: eqalpha/keydb:latest
redis:
image: redis:7
ports:
- 56312:6379

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
keydb:
image: eqalpha/keydb:latest
redis:
image: redis:7
ports:
- 56312:6379

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ coverage
!/.config/docker_example.env
docker-compose.yml
!/.devcontainer/docker-compose.yml
!/packages/backend/test/docker-compose.yml

# misskey
/build
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ services:
restart: always
links:
- db
- keydb
- redis
# - meilisearch
depends_on:
db:
condition: service_healthy
keydb:
redis:
condition: service_healthy
ports:
- "3000:3000"
Expand All @@ -22,15 +22,15 @@ services:
- ./files:/misskey/files
- ./.config:/misskey/.config:ro

keydb:
redis:
restart: always
image: eqalpha/keydb:latest
image: redis:7-alpine
networks:
- internal_network
volumes:
- ./keydb:/data
- ./redis:/data
healthcheck:
test: "keydb-cli ping"
test: "redis-cli ping"
interval: 5s
retries: 20

Expand Down
4 changes: 2 additions & 2 deletions packages/backend/test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: "3"

services:
keydbtest:
image: eqalpha/keydb:latest
redistest:
image: redis:7
ports:
- "127.0.0.1:56312:6379"

Expand Down

0 comments on commit 1826926

Please sign in to comment.