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

x-cimple: &common
  build:
    context: .
    args:
      DEFAULT_HOST: server
  image: egortensin/cimple
  restart: always

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