Save logs in Docker volume (write permission for all users on volume) – Nginx
I have a Yii application with docker-compose.yml: version: '3' services: web: image: nginx restart: always volumes: - ./docker/conf/nginx/default.conf:/etc/nginx/conf.d/default.conf - .:/var/www/html ports: - 80:80 depends_on: - php php: image: yiisoftware/yii2-php:7.1-fpm restart: always volumes: - ./docker/conf/php/php.ini:/usr/local/etc/php/conf.d/php.ini - .:/var/www/html All is good. Then…