Comments (5)
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.
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.
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.
many many thanks for your help =)
from php-docker-boilerplate.
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)
- Docker Hub
- Configure crontab HOT 8
- webdevops / php-apache-dev: 7.1 php.ini
- Make Bash Command Change
- Fails on Windows 10 HOT 1
- Usage phpMyAdmin HOT 6
- How to use mailhog? HOT 1
- How to use PHP 7.1 or even PHP 7.2? HOT 3
- I can not connect to mysql with sequel pro HOT 4
- Can't connect to database from PHP HOT 1
- app folder not working HOT 2
- Set up many virtual hosts in main app container HOT 1
- Is there a more detailed document? HOT 1
- How to use crontab HOT 2
- image for php > 7.0 HOT 1
- directory index of "/app/public/" is forbidden
- Isolation from the external networks HOT 2
- php.ini date.timezone error HOT 4
- Posts aren't shown
- how to use apache - centos-7 - php7.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-docker-boilerplate.