Retour

A5.1.1 Mis en place d'une gestion de configuration;

Documentation Technique

          
            version: "2"
            services:
              rwcache-redis:
                image: redis:5.0.5

              tester:
                build:
                  context: ../..
                  dockerfile: etc/docker/integration.dockerfile
                command: /os/bin/test.sh
                volumes:
                  -  ../../src:/os/build/src
                  -  ../../lib:/os/build/lib
                  -  ../../test:/os/build/test
                  -  ../../coverage:/os/build/coverage

              watcher:
                build:
                  context: ../..
                  dockerfile: etc/docker/integration.dockerfile
                command: /os/bin/watch.sh
                environment:
                  - API_BASIC_USERNAME=username
                  - API_BASIC_PASSWORD=password
                ports:
                    - "3000:3000"
                volumes:
                  -  ../../src:/os/build/src

              assembler:
                build:
                  context: ../..
                  dockerfile: etc/docker/integration.dockerfile
                command: /os/bin/build.sh
                volumes:
                  -  ../../src:/os/build/src
                  -  ../../lib:/os/build/lib
                  -  ../../test:/os/build/test
                  -  ../../coverage:/os/build/coverage
                  -  ../../target:/os/target

            networks:
              default:
                external:
                    name: ols_dev