docker-compose.yaml 283 Bytes
Newer Older
kaiyou's avatar
kaiyou committed
1 2 3 4
version: "3"


services:
5
  manager:
kaiyou's avatar
kaiyou committed
6 7 8
    image: amonit
    volumes:
      - ./amonit.yaml:/amonit.yaml
9 10 11 12
    command: manager

  worker:
    image: amonit
13 14
    volumes:
      - ./amonit.yaml:/amonit.yaml
15
    command: worker
kaiyou's avatar
kaiyou committed
16 17 18

  redis:
    image: redis:latest
19 20
    ports:
      - 6379:6379