GithubHelp home page GithubHelp logo

Comments (5)

mblaschke avatar mblaschke commented on August 19, 2024 1

With Symfony you should set (default directory layout of Symfony)
WEB_DOCUMENT_ROOT=/app/web/
and
WEB_DOCUMENT_INDEX=app_dev.php

Please try again :)

from php-docker-boilerplate.

mblaschke avatar mblaschke commented on August 19, 2024

It's working here.

  • How old is the webdevops/php-nginx:debian-8 image?
  • Which boilerplate version do you use?
  • Which etc/environment.yml settings are used?
  • Any errors shown with docker-compose logs app?

from php-docker-boilerplate.

achref-riahi avatar achref-riahi commented on August 19, 2024

Hi mblashke,

  • How old is the webdevops/php-nginx:debian-8 image?
    REPOSITORY TAG IMAGE ID CREATED SIZE
    webdevops/php-nginx debian-8 7f5632c53de7 20 hours ago 856 MB
  • Which boilerplate version do you use?
    I use the latest version from your git repository
    https://github.com/webdevops/php-docker-boilerplate
  • Which etc/environment.yml settings are used?
    only the default server and mysql setting are activated
    Webserver
    General
    WEB_DOCUMENT_ROOT=/app/
    WEB_DOCUMENT_INDEX=index.php
    CLI_SCRIPT=php /app/index.php
    MySQL settings
    MYSQL_ROOT_PASSWORD=dev
    MYSQL_USER=dev
    MYSQL_PASSWORD=dev
    MYSQL_DATABASE=database
  • Any errors shown with docker-compose logs app?
    I think not
    http://pastebin.com/PYA8MALT

from php-docker-boilerplate.

achref-riahi avatar achref-riahi commented on August 19, 2024

many many thanks for your help =)

from php-docker-boilerplate.

trogwarz avatar trogwarz commented on August 19, 2024

Sorry for asking here, but i think this is maybe relevant.

Prerequisites. I'm using Symfony3 and it requires /app/var/cache + /app/var/logs to be writeable but by default there aren't. If i do chmod 1777 -R /app/var manually as root inside image – it's ok.

My related question 1 is: where i need to put this code to automate this? Maybe, in /Dockerfile.development one more RUN-section, right? Just noobie here.

Unrelated question 2: host machine doesn't has even php installed. Where i need to script installing composer (and some php extensions from pecl needed to project)? Have no idea )-:

from php-docker-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.