2023-04-07 22:03:28 +02:00
|
|
|
running the following commands should always give podman-rocks-123
|
|
|
|
|
|
|
|
```
|
|
|
|
podman-compose -f project/container-compose.yaml --env-file env-files/project-1.env up
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
podman-compose -f $(pwd)/project/container-compose.yaml --env-file $(pwd)/env-files/project-1.env up
|
|
|
|
```
|
2024-05-03 15:31:23 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
podman-compose -f $(pwd)/project/container-compose.env-file-flat.yaml up
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
podman-compose -f $(pwd)/project/container-compose.env-file-obj.yaml up
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
podman-compose -f $(pwd)/project/container-compose.env-file-obj-optional.yaml up
|
|
|
|
```
|
2023-09-13 15:32:56 +02:00
|
|
|
|
|
|
|
based on environment variable precedent this command should give podman-rocks-321
|
|
|
|
|
|
|
|
```
|
|
|
|
ZZVAR1=podman-rocks-321 podman-compose -f $(pwd)/project/container-compose.yaml --env-file $(pwd)/env-files/project-1.env up
|
|
|
|
```
|