Last active
March 5, 2020 22:32
-
-
Save arysom/6fad4ceca7afef89e625d11519f59fe0 to your computer and use it in GitHub Desktop.
drupal 8 php apache
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: | |
| php: | |
| image: drupal:8-apache | |
| ports: | |
| - "8080:80" | |
| volumes: | |
| - ./:/var/www/html | |
| networks: | |
| - code-network | |
| mysql: | |
| image: mysql:5.7 | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=letmein | |
| - MYSQL_DATABASE=drupal | |
| - MYSQL_USER=drupal | |
| - MYSQL_PASSWORD=drupal | |
| volumes: | |
| - /var/lib/mysql | |
| networks: | |
| - code-network | |
| networks: | |
| code-network: | |
| driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment