summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 16d9180ca598502528eb25b9a5d40e4afefc39b1 (plain)
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
version: "3.9"
services:
  redis:
    image: redis

  celery:
    image: yetsam
    build:
      dockerfile: ./Dockerfile
    environment:
      - TZ=Europe/Moscow
    restart: always
    command: celery -A app.tasks worker --loglevel=info
      

  yetsam:
    image: yetsam
    environment:
      - TZ=Europe/Moscow
    volumes:
      - ./static:/app/static
    build:
      dockerfile: ./Dockerfile
    restart: always
    ports:
      - 127.0.0.1:8000:8000