Working docker compose yaml file with postgresql and pgadmin4 for development #3683
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.
Hi guys,
created a new docker-compose file with postgresql v14 and pgadmin v4 containers for development of ralph with postgres which imho is the better choice because of concurrent writes and performance.
I easily got everything up on a ubuntu-live-server 18.4.6 lts vm in virt-manager as my docker host imported my compose-file to portainer and followed the steps from https://ralph-ng.readthedocs.io/en/stable/development/development_environment/.
Some things I additionally needed to do:
Install python3.6 with apt in my docker host.
Install nodejs and npm with apt in my docker host.
Link python3 to /usr/bin/python.
Also needed to loosen some of the requirement in the *.txts to get my dev environment up and running. Of course I needed some more rounds to get pip install all requirements successfully and it took some time.
Hope this will help the project.
Keep up the great work as you all put a lot of effort in it already!
Please write me with suggestions.