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

                 


              
                          







                          

                          

               
                              


                        
                              


                        
                          
                        
                                 
                 


        
version: '3.7'

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

services:
  server:
    <<: *common
    ports:
      - 5556
    volumes:
      - db:/var/lib/cimple
  worker1:
    <<: *common
    command: ["cimple-worker"]
    depends_on: [server]
  worker2:
    <<: *common
    command: ["cimple-worker"]
    depends_on: [server]
  client:
    <<: *common
    command: ["--version"]
    depends_on: [server]
    entrypoint: ["cimple-client"]
    restart: 'no'

volumes:
  db: