summaryrefslogtreecommitdiff
path: root/compose/const.py
Commit message (Collapse)AuthorAge
* Use improved API fields for project events when possibleJoffrey F2018-12-13
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Force consistent behavior around long paths on Windows buildsJoffrey F2018-09-19
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Preserve container numbers, add slug to prevent name collisionsJoffrey F2018-09-12
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* 3.7 --> API v1.38Joffrey F2018-06-21
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Support for rollback config in compose 3.7Vincent Demeester2018-05-30
| | | | | | Ignoring it on docker-compose Signed-off-by: Vincent Demeester <vincent@sbr.pm>
* Add composefile v3.7Vincent Demeester2018-05-29
| | | | Signed-off-by: Vincent Demeester <vincent@sbr.pm>
* Add 2.4 file format with platform support. Also reads ↵Joffrey F2018-03-30
| | | | | | DOCKER_DEFAULT_PLATFORM env Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for 3.6 schema and tmpfs mount sizeJoffrey F2018-02-02
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add COMPOSE_PARALLEL_LIMIT to restrict global number of parallel operationsShea Rozmiarek2017-12-10
| | | | Signed-off-by: Shea Rozmiarek <uberpanzermensch@gmail.com>
* Add shm_size to build-options (issue #3866)Marc van den Hoogen2017-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add shm_size to build configuration * Make it possible to enlarge/customize shm size during build * Value in bytes, or use string like "512M" or "1G" ... * Add to compose format 2.3 and (provisionally) >=3.5 format * Add automated test for shm_size in build-opts Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Made unit tests compatible with previously added shm_size build-option Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Also support shm_size build-opt when conf override Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Automated test for shm_size build-option Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Schema 3.4, add shm_size to schema 2.3, updated const.py Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Corrected typo in config_schema_v3.4 Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Add support for g/m/k units for shm_size in build-opts Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu> Reorder imports in service.py Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
* Revert 3.4-beta temp renameJoffrey F2017-09-26
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Rename 3.4 schema to 3.4-betaJoffrey F2017-08-24
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for v3.4 files and custom volume namesJoffrey F2017-08-11
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add Compose v2.3Yong Wen Chua2017-07-20
| | | | Signed-off-by: Yong Wen Chua <me@yongwen.xyz>
* Improved version comparisons throughout the codebaseJoffrey F2017-07-11
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add 3.3 format supportJoffrey F2017-05-23
| | | | | | Remove build.labels field from 3.2 schema Signed-off-by: Joffrey F <joffrey@docker.com>
* move cpus validation to validation.pyAlexey Rokhin2017-05-18
| | | | Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
* Add 2.2 schema for API 1.25 features supportJoffrey F2017-04-07
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Support V3.2Daniel Nephin2017-03-15
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Merge pull request #4334 from muicoder/masterJoffrey F2017-02-01
|\ | | | | add IMAGE_EVENTS: load/save
| * add IMAGE_EVENTS: load/savemuicoder2017-01-16
| | | | | | | | Signed-off-by: muicoder <muicoder@gmail.com>
* | Implement secrets using bind mountsDaniel Nephin2017-01-31
| | | | | | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* | Read service secrets as a type.Daniel Nephin2017-01-31
|/ | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Add default labels to networks and volumes created by ComposeJoffrey F2016-12-19
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Increase minimum version for v3.Daniel Nephin2016-12-07
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Support version 3.0 of the Compose file formatAanand Prasad2016-11-16
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Add support for link-local IPs in service.networks definitionJoffrey F2016-09-15
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Stop checking the deprecated DOCKER_CLIENT_TIMEOUT variableAanand Prasad2016-07-07
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Add support for DOCKER_* variables in .env fileJoffrey F2016-03-24
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Detailed error message when daemon version is too old.Joffrey F2016-02-11
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve error messages for invalid versionsAanand Prasad2016-02-02
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Make 'version' a stringAanand Prasad2016-02-02
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Containers join each network aliased to their service's nameAanand Prasad2016-01-15
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Refactor API version switching logicAanand Prasad2016-01-12
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Add docker-compose eventDaniel Nephin2016-01-08
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Update pre-commit config to enforace that future imports exist in all files.Daniel Nephin2016-01-07
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Update config resolution to always use explicit version numbersJoffrey F2016-01-05
| | | | | | Also includes several bugfixes for resolution and validation. Signed-off-by: Joffrey F <joffrey@docker.com>
* Remove duplicate and re-order alphabeticallyMazz Mosley2015-10-01
| | | | Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
* Handle windows volume pathsMazz Mosley2015-10-01
| | | | | | | | | | | | | When a relative path is expanded and we're on a windows platform, it expands to include the drive, eg C:\ , which was causing a ConfigError as we split on ":" in parse_volume_spec and that was giving too many parts. Use os.path.splitdrive instead of manually calculating the drive. This should help us deal with windows drives as part of the volume path better than us doing it manually. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
* Disable some tests in windows for now.Daniel Nephin2015-09-23
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* HTTP_TIMEOUT as importable constant for consistencyJoffrey F2015-09-02
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Make parallel tasks interruptible with Ctrl-CAanand Prasad2015-07-20
| | | | | | | | | | | The concurrent.futures backport doesn't play well with KeyboardInterrupt, so I'm using Thread and Queue instead. Since thread pooling would likely be a pain to implement, I've just removed `COMPOSE_MAX_WORKERS` for now. We'll implement it later if we decide we need it. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Increase max-workersMazz Mosley2015-07-16
| | | | | | | There's significant speed improvement by having more workers. This value still shouldn't cause anyone's machines to melt/explode. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
* Execute container commands in parallelMazz Mosley2015-07-15
| | | | | | | | | | | | | | | Commands able to use this parallelisation are `stop`, `kill` and `rm`. We're using a backported function from python 3, to allow us to make the most of a pool of threads without having to write the low level code for managing this ourselves. A default value for number of threads is a low enough number so it shouldn't cause performance problems but if someone knows the capability of their system and wants to increase it, they can via an environment variable DEFAULT_MAX_WORKERS Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
* Move converge() to a test module, and use a short timeout for tests.Daniel Nephin2015-06-14
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Implement smart recreate behind an experimental CLI flagAanand Prasad2015-05-18
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Resolves #1066, use labels to identify containersDaniel Nephin2015-05-18
Signed-off-by: Daniel Nephin <dnephin@gmail.com>