--- version: "3.9" services: cache: image: redis restart: unless-stopped command: redis-server --save 20 1 --loglevel warning mongo: image: mongo restart: unless-stopped bot: image: zevaryx/jarvis-tasks:stable restart: unless-stopped depends_on: - cache env_file: - .env tasks: image: zevaryx/jarvis-tasks:stable restart: unless-stopped depends_on: - cache env_file: - .env