aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker-compose.yml
blob: d80a5cd12a2b41d090c09d109f1114193e511824 (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
version: '3'

x-cimple: &common
  build: .
  image: egortensin/cimple
  restart: always

services:
  server:
    <<: *common
    ports:
      - 5556
  worker1:
    <<: *common
    command: ["./cimple-worker", "--host", "server"]
    depends_on: [server]
  worker2:
    <<: *common
    command: ["./cimple-worker", "--host", "server"]
    depends_on: [server]
  client:
    <<: *common
    command: []
    entrypoint: ["./cimple-client", "--host", "server"]
    restart: 'no'