Eric Hripko
efb5601323
Implement service mode for ipc
...
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
2020-08-07 14:43:46 +01:00
Anca Iordache
d4f55a721d
Merge pull request #7457 from EricHripko/run-healthy
...
[Compose Spec] Make 'run' behave in the same way as 'up'
2020-08-07 10:31:22 +02:00
Eric Hripko
06462cd604
Make run behave in the same way as up
...
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
2020-08-06 23:11:39 +01:00
Anca Iordache
debcdde27d
Merge pull request #7543 from jarulsamy/7540-flag_nullifier
...
Add `--` as a separator of flags and arguments.
2020-08-04 14:28:14 +02:00
Anca Iordache
05a5aae552
Merge pull request #7425 from kaspanet/master
...
Add 'local' to list of logging drivers that support `docker-compose logs`
2020-08-03 15:30:17 +02:00
aiordache
6cf72381f9
error out on both scale and deploy.replicas being set
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-10 18:54:02 +02:00
aiordache
faedc4aa9e
Add ipam.patternProperties to schema
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-10 13:31:12 +02:00
aiordache
945faab54d
parse deploy.resources
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-10 11:39:39 +02:00
aiordache
4823260310
align schema with compose-spec
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-09 23:40:15 +02:00
aiordache
cb56036a6e
rename schema to compose_spec
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-09 15:52:46 +02:00
aiordache
c06b30548d
cleanup compatibility and tests
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-08 19:07:38 +02:00
aiordache
b78c1ec193
Merge 2.x and 3.x schemas
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-08 12:31:39 +02:00
Ben Firshman
c17ef995b4
Improve version help message
...
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2020-07-06 11:10:31 +02:00
Ulysses Souza
15c1cabdad
Merge pull request #7563 from aiordache/validate_context_endpoint
...
Error out when context target is not a docker engine
2020-06-30 18:46:57 +02:00
aiordache
9c376dbe2f
check context in use targets a docker engine
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-06-30 18:27:47 +02:00
Ulysses Souza
62144b4f95
Remove the empty file
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-23 00:31:05 +02:00
Joshua Arulsamy
717085c8c2
Add -- as a seperator of flags and arguments.
...
`--` is common practice to clearly say where the
flags stop and and arguments start.
Fixes #7540
Signed-off-by: Joshua Arulsamy <joshua.gf.arul@gmail.com>
2020-06-17 23:14:09 -06:00
Ulysses Souza
854c14a5bc
Merge pull request #7031 from venthur/remove_python2
...
Removed Python2 support
2020-06-10 17:03:19 +02:00
Bastian Venthur
8ce743c8c1
Fixed new things that came after the PR
...
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
2020-06-03 18:08:23 +02:00
Ulysses Souza
a691cd89cc
Set next version to a dev once again
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:52:19 +02:00
Ulysses Souza
3d2a82ca83
"Bump 1.26.0"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:49:08 +02:00
Ulysses Souza
f2bb6ff473
"Bump 1.26.0-rc5"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:49:08 +02:00
Ulysses Souza
3f0a7fe3ee
Bump docker-py
...
This should fix https problems when running on
remote daemon
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:49:08 +02:00
Ulysses Souza
cad60dbc00
"Bump 1.26.0-rc4"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:48:33 +02:00
Ulysses Souza
9b8b8cb856
"Bump 1.26.0-rc3"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:48:33 +02:00
Ulysses Souza
55ca40693c
"Bump 1.26.0-rc1"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:46:25 +02:00
Bastian Venthur
0263d3ec37
Removed now unused get_output_stream method
...
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
2020-06-03 17:43:56 +02:00
Bastian Venthur
5529376d4c
Removed six
...
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
2020-06-03 17:43:16 +02:00
Bastian Venthur
e8424d5ae0
Removed Python2 support
...
Closes : #6890
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
2020-06-03 17:37:47 +02:00
Ulysses Souza
2883d8fa5d
Fix flake8 errors
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-20 10:45:39 +02:00
Mike Zak
f873aeace3
Update comment about log drivers that support log stream
...
Signed-off-by: Mike Zak <feanorr@gmail.com>
2020-05-04 11:11:10 +03:00
Mike Zak
982069903d
Add 'local' to list of logging drivers that support docker-compose logs
...
Signed-off-by: Mike Zak <feanorr@gmail.com>
2020-05-04 09:46:50 +03:00
Ulysses Souza
0979c7a1fe
Merge pull request #7380 from joehattori/simplify-code
...
Simplify code in compose/config/config.py
2020-04-19 16:57:36 +02:00
Joe Hattori
ce782b592f
Simplify code in compose/config/config.py
...
Signed-off-by: Joe Hattori <joe2ninja21@gmail.com>
2020-04-19 01:52:19 +09:00
Ulysses Souza
a62a1e1d62
Add "distro" package
...
This package implements the method 'platform.linux_distribution' removed in
Python 3.8
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-16 20:04:05 +02:00
luHub
1a688289b4
add labels to CLIbuilder
...
Signed-off-by: luHub <lucioguerchi16f@gmail.com>
2020-03-28 18:00:22 +01:00
Ulysses Souza
d412a1e47f
Merge pull request #6937 from apollo13/issue6871
...
Properly escape values coming from env_files, fixes #6871
2020-02-24 11:52:14 +01:00
Anca Iordache
79fe7ca997
add warning when max_replicas_per_node limits scale
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-10 11:52:16 +01:00
Anca Iordache
02d8e9ee14
set min engine version needed for v38 schema support
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-07 13:50:06 +01:00
Anca Iordache
d9b0fabd9b
update api version for 3.8
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-07 13:50:06 +01:00
Anca Iordache
391e5a6bc2
Add v3.8 schema support
...
- service scale bounded by 'max_replicas_per_node' field
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-07 13:50:06 +01:00
Anca Iordache
2dfd85e30e
Use docker context interface from docker-py
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-06 12:01:37 +01:00
Ulysses Souza
eb20915c6e
Merge pull request #7045 from ndeloof/command_suggest
...
Suggested command is invalid
2020-02-03 18:01:27 +01:00
Ulysses Souza
9f5f8b4757
Remove None entries on execute command
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-30 19:26:33 +01:00
Ulysses Souza
edf27e486a
Pass the interpolation value to python-dotenv
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-29 14:29:32 +01:00
Florian Apolloner
f17e7268b0
Properly escape values coming from env_files, fixes #6871
...
Signed-off-by: Florian Apolloner <florian@apolloner.eu>
2020-01-28 16:33:28 +01:00
Ulysses Souza
409a9d8207
Merge pull request #7150 from ulyssessouza/add-python-dotenv
...
Add python-dotenv to delegate `.env` file processing
2020-01-27 14:48:41 +01:00
Ulysses Souza
6d2658ea65
Add python-dotenv
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-27 13:50:34 +01:00
Ben Thorner
a6b602d086
Support attaching to dependencies on up
...
When using the 'up' command, only services listed as arguments are
attached to, which can be very different to the 'no argument' case
if a service has many and deep dependencies:
- It's not clear when dependencies have failed to start. Have to run
'compose ps' separately to find out.
- It's not clear when dependencies are erroring. Have to run 'compose
logs' separately to find out.
With a simple setup, it's possible to work around theses issue by
using the 'up' command without arguments. But when there are lots of
'top-level' services, with common dependencies, in a single config,
using 'up' without arguments isn't practical due to resource limits
and the sheer volume of output from other services.
This introduces a new '--attach-dependencies' flag to optionally attach
dependent containers as part of the 'up' command. This makes their logs
visible in the output, alongside the listed services. It also means we
benefit from the '--abort-on-container-exit' behaviour when dependencies
fail to start, giving more visibility of the failure.
Signed-off-by: Ben Thorner <ben.thorner@digital.cabinet-office.gov.uk>
2020-01-16 13:41:54 +00:00
yukihira1992
53d00f7677
Refactored mutable default values.
...
Signed-off-by: yukihira1992 <ykhr0130@gmail.com>
2020-01-15 11:16:24 +01:00