skip to Main Content

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…

VIEW QUESTION

Redis – My local volume for mongodb gets permission denied when running docker-compose up

Here is my docker-compose.yml version: "3.5" services: api: container_name: upvotocracy-api restart: always build: . env_file: .env ports: - "127.0.0.1:8537:8537" - "127.0.0.1:9228:9229" links: - mongo volumes: - ./index.js:/usr/src/app/index.js - ./.env:/usr/src/app/.env networks: - upvotocracy-network mongo: container_name: upvotocracy-mongo restart: always image: mongo:latest env_file:…

VIEW QUESTION
Back To Top
Search