services: redis: image: redis:latest restart: always ports: - "6379:6379" command: ["redis-server", "--appendonly", "yes"]