Change: updated the docker-compose file for modern setups, added supp… #530
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support for swedish language
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Swedish Language and a change to the docker configuration since it was outdated if you use a newer version for compose & docker engine
What is the current behavior?
Swedish language was missing so added that.
Docker changes: the new docker versions does not use Versions: in their dockerfiles, it has been replaced with "name:" or you can just go without anything, but the old method of using "version" is obsolete
So when you start the container from making changes it gives a warning about versions being obsolete.
docs: https://docs.docker.com/compose/compose-file/04-version-and-name/
Issue Number: N/A
What is the new behavior?
if you use name at the top of the docker file, it now changes the name globally for that "project" so if you have a service called "app" and your name is "evershop" it will then go under the name "evershop_app"
fair warning, this will also screw upp current deployments if you were to update your docker and change to name. so if there is a currently old version using "version 3.x" i would just remove it and start from the services field.
Does this PR introduce a breaking change?
As above, be weary about the "name:" field if you update your docker engine/compose.
Other information