Created
March 22, 2017 21:54
-
-
Save peltho/e3f9d5fa884417cf4620538c178e7611 to your computer and use it in GitHub Desktop.
Environnement de dev Docker (to improve)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
web: | |
image: richarvey/nginx-php-fpm | |
container_name: webserver_dev | |
links: | |
- database | |
volumes: | |
- "/chemin/vers/repertoire/local:/var/www/html/" | |
ports: | |
- "80:80" | |
database: | |
image: mysql | |
container_name: mysql_dev | |
volumes: | |
- data-volume:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
volumes: | |
data-volume: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker-compose -f /chemin/vers/dev.yml up