1. What is the problem? Be very detailed.
Please help me , I want to disable PostgreSQL ,Certbot and Redis image permanently running inside odkcentral in docker
2. What app or server are you using and on what device and operating system? Include version numbers.
Odkcentral in docker
Local server (physical server)
PostgreSQL
3. What you have you tried to fix the problem?
I have tried to run commands for disable
We are using PostgreSQL(central configured to use external postgres) which is locally installed in physical server so we want to disable the postgres comes with odkcentral in order to save memory , because the machine gonna run two postgreSQL server one in local machine(which we are using) and the one inside the central-docker which we aren't using so we want to disable postgres service inside docker container
We want to disable Redis image permanently because the internet connection here is bit slow so we don't want cache from redis so we were asking is it possible to do this
We also want to disable certbot service because we are using local machine machine generated certificate, so we want to disable the this service permanently
Both Redis databases (main and cache) are a requirement for web forms and data editing. If you remove either, you'll break those features and likely break Central in other subtle ways.
The PostgreSQL DB when idle does not use a meaningful amount of RAM. You can confirm this with docker ps stats. If you want to remove it, you can remove all references to it from the docker-compose.yml file. You'll have to adjust the parameters in the call to wait-for-it.sh to point to your external PostgreSQL database as described at using a custom database server.
Note that these changes will most certainly add to your maintenance burden when you upgrade because you'll have to deal with any git merge conflicts.
My recommendation is to leave everything alone. If you choose to make these kinds of undocumented changes, you'll be on your own as far as support.