Closed dst78 closed 9 months ago
I assume those are the other 3 directories we mark as volumes in the image: https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/65ceef01304606a989dbae98d1a4d43bb1d65d0f/Dockerfile#L101-L102
You can attach tmpfs for /run and /tmp, but /var/lib/nginx/tmp should be disk backed, as it can contain larger artifacts, for example large POST requests before they are proxied to php-fpm. See also the volume mediums used in the kubernetes sample: https://github.com/PrivateBin/docker-nginx-fpm-alpine/tree/master#kubernetes-deployment
Apologies, you're right. This solves that
I'm using privatebin on an arm64 machine. The image creates three anonymous volumes, despite having mapped the the data directory.
A minimum docker-compose.yaml to reproduce the issue is below.
Additionally mapping the config file doesn't change anything.
A "log" of the shell commands used to reproduce: