Skip to content
Snippets Groups Projects
Forked from ICS Control System Infrastructure / csentry
Source project has a limited visibility.
  • Benjamin Bertrand's avatar
    ce91cc8a
    Refactor and clean compose files · ce91cc8a
    Benjamin Bertrand authored
    - use same postgres container for dev and test
      (create 2 different databases)
    - use docker-compose.override.yml to avoid duplication
    - ignore more files not needed in the docker image
    
    By default docker-compose reads both docker-compose.yml and
    docker-compose.override.yml.
    In docker-compose.override.yml we mount the current directory as
    a volume for development.
    
    To test the image we only use docker-compose.yml:
    - don't force port 5432 to the outside world to avoid conflict
    - do not mount the current directory
    ce91cc8a
    History
    Refactor and clean compose files
    Benjamin Bertrand authored
    - use same postgres container for dev and test
      (create 2 different databases)
    - use docker-compose.override.yml to avoid duplication
    - ignore more files not needed in the docker image
    
    By default docker-compose reads both docker-compose.yml and
    docker-compose.override.yml.
    In docker-compose.override.yml we mount the current directory as
    a volume for development.
    
    To test the image we only use docker-compose.yml:
    - don't force port 5432 to the outside world to avoid conflict
    - do not mount the current directory
Code owners
Assign users and groups as approvers for specific file changes. Learn more.