Open
Description
First of all: I love your tool!
I am converting docker-compose.yml to Dockerrun.aws.json. This has been working very well for almost 3 years now.
Recently I added for one service an env_file
directive:
version: '2'
services:
php:
env_file:
- /var/app/current/myenv
so, besides my docker-compose there is a file myenv
that should be used as env file. During transfer to ECS, it will be stored in /var/app/current/myenv from where it could be used.
I am unsure if such an option exists in the Dockerrun format at all.
If not, theoretically it would be possible to transform each of the defined variables to
"containerDefinitions": [
{
"name": "php-app",
"image": "php:fpm",
"environment": [
{
"name": "var1",
"value": "val1"
},
{
"name": "var2",
"value": "val2"
}, ...
],
see the docs here
I would be very grateful for your help
Metadata
Metadata
Assignees
Labels
No labels