redis: image: redis:alpine command: --save 900 1 ports: - "127.0.0.1:6379:6379" volumes: - ./data:/data restart: always