aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/docker-compose.yml
blob: 2fa536761bb5a585157329070a0c001285cf14e1 (plain) (tree)
1
2
3
4
5
6
7


                 



                          









                          
                                


                        
                                



                        

                                   
                 
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'