diff --git a/.devcontainer/compose.yml b/.devcontainer/compose.yml index 9cdc05ca96..87c394d153 100644 --- a/.devcontainer/compose.yml +++ b/.devcontainer/compose.yml @@ -35,3 +35,4 @@ services: volumes: mysql-data: + redis-data: diff --git a/compose.yml b/compose.yml index ce71107a53..08e8a44472 100644 --- a/compose.yml +++ b/compose.yml @@ -26,6 +26,8 @@ services: ports: - "6379:6379" restart: always + volumes: + - redis-data:/data healthcheck: test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ] interval: 1s @@ -61,3 +63,4 @@ services: - "9091:9091" volumes: mysql-data: + redis-data: