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 – Docker Compose Bash Command Not Working In YAML but Works Inside Container

Following is my docker compose file. version: '3' services: redis: image: "redis" volumes: - ./redis.conf:/usr/local/etc/redis/redis.conf - ./redis-volume:/data:rw command: redis-server /usr/local/etc/redis/redis.conf service1: build: . image: 'myregistry.azurecr.io/myapp:latest' ports: - '5500:80' volumes: - ./appsettings.json:/app/appsettings.json command: bash -c 'for file in /app/ClientApp/dist/myapp/main*.js; do sed…

VIEW QUESTION

Redis – Docker command failing on ARM

Getting this error while trying to build redis timeseries container on ARM # docker build -t shantanuo/redistimeseries . Sending build context to Docker daemon 32.75MB Step 1/19 : ARG REDIS_VER=6.0.9 Step 2/19 : ARG OSNICK=bionic Step 3/19 : ARG ARCH=arm64v8…

VIEW QUESTION
Back To Top
Search