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

Changes in Docker compose configs not propagated to containers during compose up #1490

Open
aequitas opened this issue Aug 27, 2024 · 1 comment

Comments

@aequitas
Copy link
Collaborator

When changing the contents of configs: in the docker/docker-compose.yml via .env variables those changes are not propagated into the containers when running a compose up command (eg: during deployment). This may also be the case with changes to the configs themselves, not tested yet. Restarting the container also does not have the desired effect. The only thing that works currently is bringing the container (or the entire environment) down and up again (ie: recreating the container).

A solution might be to include the variables in the container 'env' but this would only work for .env variable changes, not the rest of the config file.

@aequitas
Copy link
Collaborator Author

This is seemingly being worked on in: docker/compose#11931

aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 18, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 19, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
aequitas added a commit that referenced this issue Sep 19, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
mxsasha pushed a commit that referenced this issue Sep 19, 2024
…elevant containers

Changes in 'configs' in docker-compose.yml don't cause containers/services to be restarted. This will be fixed in the future upstream but for now force recreate of relevant containers during deployments.

#1490
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant