I can't find where i put my file index.php so that ngnix can interpreter my file.
All containers are working and when i put localhost:8080 nginx works
Here is my docker-compose.yml
web:
image: nginx
volumes:
- ./templates:/etc/nginx/templates
ports:
- "8080:8080"
environment:
- NGINX_HOST=foobar.com
- NGINX_PORT=8080
php:
image: php:7.0-fpm
expose:
- 9000
volumes_from:
- app
links:
- elastic
app:
image: php:7.0-fpm
volumes:
- .:/src
elastic:
image: elasticsearch:2.3
volumes:
- ./elasticsearch/data:/usr/share/elasticsearch/data
- ./elasticsearch/logs:/usr/share/elasticsearch/logs
expose:
- "9200"
ports:
- "9200:9200"
Can anyone help me please