conductor

CI task system
git clone git://git.finwo.net/app/conductor
Log | Files | Refs | README | LICENSE

docker-compose.build.yml (805B)


      1 # deploy/docker-compose.build.yml - build the images instead of pulling
      2 #
      3 # The main compose file runs the published images, which is what a
      4 # deployment wants. Layer this over it to build from the working tree:
      5 #
      6 #   docker compose -f deploy/docker-compose.yml \
      7 #                  -f deploy/docker-compose.build.yml up -d --build
      8 #
      9 # The image names stay the same, so nothing else has to change and the
     10 # locally built image simply shadows the published one.
     11 
     12 services:
     13   conductor:
     14     build:
     15       context: ..
     16       dockerfile: deploy/Dockerfile
     17     image: "${CONDUCTOR_IMAGE:-finwo/conductor:latest}"
     18     pull_policy: build
     19 
     20   worker:
     21     build:
     22       context: ..
     23       dockerfile: deploy/Dockerfile.worker
     24     image: "${CONDUCTOR_WORKER_IMAGE:-finwo/conductor-worker:latest}"
     25     pull_policy: build