aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
blob: bb6ad6aca42a1f32c76610d59afef8d25aacff5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: "3.7"
services:
  sir-lancebot:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: sir-lancebot
    init: true

    restart: always
    depends_on:
      - redis

    environment:
      - BOT_TOKEN
      - BOT_DEBUG
      - BOT_GUILD
      - BOT_ADMIN_ROLE_ID
      - CHANNEL_DEVLOG
      - CHANNEL_COMMUNITY_BOT_COMMANDS
      - REDIS_HOST=redis

    volumes:
      - .:/bot

  redis:
    image: redis:latest
    ports:
      - "127.0.0.1:6379:6379"