Muayyad alsadi
5acb9978eb
command list of strings
2021-11-11 17:47:26 +02:00
Muayyad alsadi
dcb038ef3a
remove tabs
2021-11-11 14:27:30 +02:00
Muayyad alsadi
a2fef56b07
FIXES #353 : down in reverse order
2021-11-11 11:32:24 +02:00
Muayyad alsadi
c753b8e2cf
FIXES #167 : support ContainerFile
2021-11-11 11:27:33 +02:00
Muayyad alsadi
c9486c9f3b
#115 : handle string entrypoint
2021-10-25 00:14:19 +03:00
Muayyad alsadi
f2aeaba0d6
#348 : conditional --infra-name
2021-10-24 17:35:36 +03:00
Muayyad alsadi
2d80e435dd
remove print
2021-10-14 02:12:28 +03:00
Muayyad alsadi
d1a77defcd
external name
2021-10-14 02:11:45 +03:00
Muayyad alsadi
c49f0700c8
volumes with names
2021-10-14 01:30:44 +03:00
Igor Kuznetsov
6d69b7c74c
Add support external volumes
...
# docker-compose.yml
version: '3'
services:
test:
volumes:
- data:/data
volumes:
data:
name: some
external: true
2021-10-14 00:12:06 +03:00
Muayyad alsadi
ab135030c8
add support for long port publishing format
2021-10-10 00:43:01 +03:00
Muayyad alsadi
069018c5b1
#342 : set infra container name
2021-10-04 14:40:54 +03:00
Muayyad alsadi
b6a9f8efd4
#335 : report version with -v
2021-09-09 00:33:07 +03:00
Sam
dc0ac0d03c
docs: added the transform_policy default and description
2021-09-06 10:02:13 +03:00
Muayyad alsadi
502d7cc206
#327 : accept ports as string
2021-08-26 12:37:14 +03:00
kozlowskim6
e85d79d4f4
added cpu_shares flag for v2
2021-08-18 11:56:12 +03:00
kozlowskim6
bfb57b9ba2
added cpu_shares flag for v2
2021-08-18 11:56:12 +03:00
Gerhard Bräunlich
2d0aad6692
Also pull images with a build section
2021-08-05 15:07:05 +03:00
Gerhard Bräunlich
ff5b9f1663
Support for logging
2021-07-27 14:54:36 +03:00
Sam
62aa337f17
feat(secrets): ✨ Add support for secrets
...
Adds support for -
- (1) Declared secrets with the file location.
- (2) Declared secrets with file location, mounted as a different named secret.
- (3) Declared secrets with file location, mounted at arbitrary location.
- (4) External secrets (type=mount), mounted as original secret name.
- (5) External secrets (type=mount), mounted as original secret name, with specified uid, gid and mode.
2021-07-24 02:29:32 +03:00
Paul Wilde
3836094c64
Update podman_compose.py
...
it would be nice to use "podman-compose.yml" as a compose file name. compose.yml is useful, but I prefer the clarity of having the "podman" prefix.
2021-07-17 16:18:40 +03:00
Muayyad alsadi
d97a20d563
#308 : fix environment
2021-06-23 18:04:13 +03:00
Muayyad alsadi
f417c9ab8c
#120 : extend not add
2021-06-22 23:52:24 +03:00
Muayyad alsadi
5ed5528294
FIXES #120 : parse mem and cpu limits
2021-06-22 23:48:05 +03:00
Muayyad alsadi
3d6ca3c204
FIXES #120 : parse mem and cpu limits
2021-06-22 23:30:22 +03:00
Stefan Weil
6e3383de72
Convert numeric command arguments to string ( fixes #77 )
...
The input argument cmd_args is a list which may contain numeric elements.
Convert all elements to strings before passing them to functions which
expect str data type.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-06-16 22:19:42 +03:00
Stefan Weil
8ef7587aa1
Fix some typos (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-06-16 22:17:28 +03:00
Mattias Giese
039fe30a70
Make sure port entries are converted to strings
...
Otherwise concatenating all parameters might fail with a TypeError
2021-05-28 21:10:55 +03:00
Robert Hensing
62d2024fee
Add stop_signal service attribute
2021-05-18 22:14:21 +03:00
Muayyad alsadi
9317f987fc
#278 : args
2021-05-17 15:03:47 +03:00
Sander Hoentjen
045cef299b
#289 : report exit code when --exit-code-from
2021-05-06 02:08:48 +03:00
Muayyad alsadi
a7f97b6120
implement -e in run
2021-05-06 01:17:01 +03:00
Muayyad alsadi
00840d0613
resolve conflict
2021-05-06 00:49:42 +03:00
Daniel Helgenberger
080b8a369e
Prefer 'compose.yaml' as per compose spec
...
https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file
2021-05-05 17:32:25 +03:00
Joakim Repomaa
226ac4fb3a
fix missing --label flag in volume creation
2021-05-05 02:13:42 +03:00
SsjackX
901213e5b3
Update podman_compose.py
...
repair mode written as size
2021-04-29 19:20:26 +03:00
Christian Taedcke
b3370603d9
Add support for sysctls in compose file
2021-04-29 19:19:42 +03:00
Marcello Sylvester Bauer
5fabfee497
Support annotations
...
Support annotations analog to "security opt" in commit 29e2bf4c.
Signed-off-by: Marcello Sylvester Bauer <sylv@sylv.io>
2021-04-29 19:18:29 +03:00
Sebastian Ramirez Magri
75a63df954
fix: check .env
in current dir with isfile
instead of exists
...
This prevents cases in which an `.env` directory exists, for example
in Python projects with a local virtual environment, and then
dotenv gets passed the directory path as input.
2021-04-29 19:18:06 +03:00
Joakim Repomaa
08dd36f4c1
Add docker-compose labels for interoperability
2021-04-29 19:17:20 +03:00
Martin Häcker
669953b3d3
Rework argument generation to adhere directly to what podman accepts.
2021-04-29 19:10:55 +03:00
Martin Häcker
d3df688aee
Remove test code
2021-04-29 19:10:55 +03:00
Martin Häcker
bda7b5e812
Add exec support
2021-04-29 19:10:55 +03:00
Muayyad alsadi
6289d25a42
fixes #236 : compatible with docker-compose
2020-12-02 15:31:51 +02:00
Andreas Kohn
abc08135ba
Only pull each image once
2020-11-27 18:09:58 +02:00
Daniel Helgenberger
9cd837f01d
Fixes #236 : Ensure project name works with podman
...
In case we use dir_basename as podman project name, ensure it matches
podman project name requirement regex: [a-zA-Z0-9][a-zA-Z0-9_.-]*
2020-11-19 17:52:49 +02:00
Davide Madrisan
a4b8b5e709
Fix 'podman-compose version' with no compose file in the working directory
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2020-11-19 14:51:06 +02:00
Muayyad alsadi
5971f57130
FIXES #249 : update dotenv with some envs
2020-11-05 00:14:57 +02:00
Muayyad alsadi
ab96f12dba
FIXES #249 : update dotenv with some envs
2020-11-05 00:08:19 +02:00
Jonas Eriksson
f6a3cb0aff
Allow environment variables to be unset
...
Leaving keys with empty values in YAML will result in the value
ending up being None after parsing the configuration file. This
should result in the variable being imported from the external
environment according to the Compose file version 3 reference.
The resulting action for podman should be an added "-e VAR"
(without =), which is working correctly.
However, when overwriting an external variable by setting it to
e.g. "", the result in docker-compose is that the variable is
unset. For podman, this means adding "-e VAR=". This is not the
case, and this patch does a more strict check to make this case
behave correctly.
2020-10-12 12:45:14 +03:00