Created
November 24, 2016 20:52
-
-
Save GhazanfarMir/b26ca7cb5e1e98a3e2a9d7a7869c9a4e to your computer and use it in GitHub Desktop.
NGINX MySQL and PHP7
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
--- | |
version: "2" | |
services: | |
dbserver: | |
image: mysql:latest | |
container_name: dbserver | |
environment: | |
- MYSQL_ROOT_PASSWORD=Pansymeer5 | |
- MYSQL_DATABASE=gmir | |
- MYSQL_USER=gmir | |
- MYSQL_PASSWORD=Pansymeer5 | |
ports: | |
- "3306:3306" | |
webserver: | |
container_name: webserver | |
image: skiychan/nginx-php7:latest | |
links: | |
- dbserver | |
volumes: | |
- ./src/:/data/www/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment