skip to Main Content

Docker nginx php-fpm not serving php

I'm trying to setup nginx and php-fpm images to work together for a Laravel application. This is my set up: docker-compose.yml version: "3.8" services: server: container_name: nginx build: context: . dockerfile: docker/nginx/Dockerfile volumes: - ./src/public:/var/www/html/public ports: - "8888:80" depends_on: -…

VIEW QUESTION

geoip_country_name returns "-" in nginx

I am trying to install geoip module for nginx though dockerfile by adding to my dockerfile the following: RUN apk add --no-cache libmaxminddb nginx-mod-http-geoip RUN cd /var/lib; mkdir -p nginx; wget -q -O- https://dl.miyuru.lk/geoip/maxmind/country/maxmind.dat.gz | gunzip -c > nginx/maxmind-country.dat; wget…

VIEW QUESTION

Docker multistage build doesn't pass arguments to second stage

I have dockerbuild file that contains from 2 stages ARG DOTNET_VERSION=net48 ARG CONFIGURATION=Release FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build-env ARG DOTNET_VERSION ARG CONFIGURATION RUN echo .Net version: $env:DOTNET_VERSION FROM mcr.microsoft.com/windows/nanoserver:1809 ARG DOTNET_VERSION RUN echo .Net version: $env:DOTNET_VERSION I start it using next…

VIEW QUESTION
Back To Top
Search