Skip to content

Commit

Permalink
やっぱredis使う
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarikanaru committed Jul 14, 2024
1 parent 3bacbd8 commit 9974840
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
8 changes: 3 additions & 5 deletions .devcontainer/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ services:
- external_network

redis:
restart: always
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
restart: unless-stopped
image: redis:7-alpine
networks:
- internal_network
ulimits:
memlock: -1
volumes:
volumes:s
- redis-data:/data
healthcheck:
test: "redis-cli ping"
Expand Down
6 changes: 1 addition & 5 deletions compose.local-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
services:
redis:
restart: always
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
networks:
- internal_network
image: redis:7-alpine
ports:
- "6379:6379"
ulimits:
memlock: -1
volumes:
- ./redis:/data
healthcheck:
Expand Down
4 changes: 1 addition & 3 deletions compose_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ services:

redis:
restart: always
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
image: redis:7-alpine
networks:
- internal_network
ulimits:
memlock: -1
volumes:
- ./redis:/data
healthcheck:
Expand Down

0 comments on commit 9974840

Please sign in to comment.