version: '3' services: redis: image: redis restart: always volumes: - ./data:/data command: redis-server --save 900 1 --appendonly yes environment: - REDIS_REPLICATION_MODE=master - REDIS_APPENDONLY=yes - REDIS_SAVE=900 1 gwei-alert-bot: build: . container_name: gwei-alert-bot working_dir: /usr/app dns: - 1.1.1.1 environment: - NODE_ENV=production restart: unless-stopped