Docker setup enhancements #137
Labels
No Label
backlog
bug
duplicate
enhancement
feature
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
in discussion
invalid
priority
1
priority
2
priority
3
priority
4
priority
5
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IT-Naturschutz/konova#137
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
Currently we are running the konova docker setup on a docker-compose orchestration of multiple containers:
There are several things we need to improve on here.
Enhancements
Merge foreground and background service
The split of konova into a foreground and background service might not be the best way for deployment. There is a way to run gunicorn and celery in the same service, as already implemented in the linked branch to this issue:
Docker_worker_enhance
. This way we can save some resources but need to take a look on the performance anyway.Explicit network definition
Currently we are simply using the same default network configuration for all orchestrated services, which is based on the network where the postgis container lives:
This way the following definiton on a service is not needed:
To simplify future deployments on production server, we should add this default definition on each service. It might be important to link up to more networks, e.g. for communicating with EGON (regularly living in network 'efis'), so any connection can be established into containers living in these networks.
Conflicting redis
We should enhance the redis service definition, so there will be no conflicts (possibly) other redis instances:
Merged in #155