aboutsummaryrefslogtreecommitdiff
path: root/compose.yaml
blob: 45d5c13ec9f777ff5ecf6080d071d9261fe3beda (plain)
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: