1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
services: bot: build: . environment: - TOKEN=${TOKEN} volumes: - storage:/app/storage develop: watch: - action: sync+restart path: . target: /app redis: image: "redis:8" restart: "always" hostname: "redis" volumes: - redis:/data volumes: storage: redis: