aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 29ff964595769e45c5ec98712ac4365ca7104330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: '3'
services:
  backend:
    build:
      context: ./
      dockerfile: ./docker/Dockerfile
    network_mode: "bridge"
    container_name: slacky
    image: thornycrackers/slacky
    ports:
      - "8000"
    volumes:
      - .:/usr/src/app
    command: /bin/bash
    environment:
      - "PYTHONPATH=/usr/src/app"
      - "SLACK_TOKEN=${SLACK_TOKEN}"
    tty: true
    stdin_open: true