skip to Main Content

Need to up my docker file in ubuntu "docker-compose up -d" – Nginx

services: postgres: container_name: 'lh-postgres' image: 'postgres:13' environment: POSTGRES_PASSWORD: root redis: container_name: 'lh-redis' image: 'redis:6' nginx: container_name: 'lh-nginx' build: ./nginx depends_on: - php-fpm volumes: - ./src/lh-app:/var/www/html/app - ./src/lh-api:/var/www/html/api ports: - "80:80" - "443:443" php-fpm: container_name: 'lh-php' image: docker.io/bitnami/php-fpm:8.0 user: '1000:1000' build:…

VIEW QUESTION

Image can't start – Nginx

I can't start image with clear installed Ubuntu. Then trying to install Nginx and PHP in Dockerfile. I use command docker-compose up -d to to prepare and start container, but it always restarting. Where is the error? Here is my…

VIEW QUESTION
Back To Top
Search