Created
April 11, 2016 10:58
-
-
Save valentin2105/2223ef8f7b3d002cc5815556e03660e1 to your computer and use it in GitHub Desktop.
docker-compose.yml LEMP PHP7.0
This file contains hidden or 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
web_db: | |
image: mariadb:latest | |
restart: always | |
volumes: | |
- ./var/mysql:/var/lib/mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: @Str0NgP@Ssw0rd | |
web_front: | |
image: nginx | |
restart: always | |
ports: | |
- 80:80 | |
- 443:443 | |
log_driver: syslog | |
links: | |
- web_fpm | |
volumes: | |
- ./www:/var/www/html:rw | |
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro | |
- ./var/log/nginx:/var/log/nginx | |
- ./etc/letsencrypt:/etc/letsencrypt | |
- ./etc/nginx/certs/dhparam.pem:/etc/nginx/certs/dhparam.pem | |
web_fpm: | |
build: ./PHP-FPM/ | |
restart: always | |
links: | |
- web_db:mysql | |
volumes: | |
- ./www:/var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment