How to configure docker logging driver

Well configuring the logging driver is more an advanced topic.

You can do it by directly editing the docker-compose.yml files generted by wappler and add your logging options there as:

The docker-compose.yml file is located in:
.wappler/targets/_your_target_name_/docker-compose.yml

You can safely edit it and add the needed extra commands. If we edit it from the project options, we change only the chosen options, so your changes will still be available.

Make sure you redeploy after you make changes to the docker-compose.yml file

You can also add some other limits like memory and cpu. as described in:

So you don’t run out of memory - which will be fatal:

3 Likes