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
Anatoli Babenia
b33c42b7e2
Readability fix for missing commands
...
Of course it would be better to have a proper compatibility page (#26 )
2021-09-23 14:58:45 +03:00
Kangwook Lee
785f7ad8a3
Get version info with setup.cfg
2021-09-11 23:35:36 +03:00
Muayyad alsadi
b6a9f8efd4
#335 : report version with -v
2021-09-09 00:33:07 +03:00
Jiangge Zhang
4a5fd23a2e
#275 make pipx happy
2021-09-08 14:23:02 +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
Diogo Galvão
0ea18b4419
Force adding an .env file for the tests
2021-05-06 00:50:41 +03:00
Muayyad alsadi
905914b0dc
Merge branch 'garotosopa-devel' into devel
2021-05-06 00:49:54 +03:00
Muayyad alsadi
00840d0613
resolve conflict
2021-05-06 00:49:42 +03:00
Diogo Galvão
2ad7daa81f
Test variable interpolation in the YAML
2021-05-06 00:44:46 +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
Eric Lathrop
030a196102
Fix README typo
2021-04-29 19:20:47 +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
Radoslaw Smigielski
b3090c3c3a
Mode Python installation and test deps to requirement files
...
Installation with setup.py fails on missing yaml package, which should
be installed by "install_requires" but this also does not work because
podman_compose.__version__ also needs yaml.
Put all the Python dependencies into separate files:
- requirements.txt
- test-requirements.txt
2021-04-29 19:19:14 +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