Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass custom --env-file run args to docker-compose #6896

Closed
frediy opened this issue Jul 6, 2022 · 1 comment
Closed

Pass custom --env-file run args to docker-compose #6896

frediy opened this issue Jul 6, 2022 · 1 comment
Labels
containers Issue in vscode-remote containers

Comments

@frediy
Copy link

frediy commented Jul 6, 2022

It would be nice to support runArgs parameter to call some args on docker-compose command.

For example, we could use the --env-file option on docker-compose command to specify custom .env file name where we set COMPOSE_PROJECT_NAME (it's a common use case to have a committed .env file but an ignored .env.local file that override some values).

(It might also be an envFile parameter in devcontainer.json to specify the .env file to use)

Thanks!

@github-actions github-actions bot added the containers Issue in vscode-remote containers label Jul 6, 2022
@chrmarti
Copy link
Contributor

chrmarti commented Jul 8, 2022

Tracking as #4885.

@chrmarti chrmarti closed this as completed Jul 8, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

2 participants