sjacorg / bayanat

Open source data management solution for human rights documentation.
https://bayanat.org/
GNU Affero General Public License v3.0
21 stars 13 forks source link

Nginx container filesystem issues #21

Closed spwoodcock closed 1 year ago

spwoodcock commented 1 year ago

Error

When starting the bayanat stack for the first time via docker compose, I get errors with Nginx:

nginx 10:21:52.11 WARN  ==> The NGINX configuration file '/opt/bitnami/nginx/conf/nginx.conf' is not writable by current user. Configurations based on environment variables will not be applied.

genrsa: Can't open "/opt/bitnami/nginx/conf/bitnami/certs/server.key" for writing, Read-only file system

Issue

Solution

    tmpfs:
      - /opt/bitnami/nginx/tmp/
      - /opt/bitnami/nginx/conf/bitnami/certs/

Additional considerations