Solution to Challenge: Run Drupal
Learn the solution to the challenge you completed.
We'll cover the following...
Solution
The docker-compose.yml
shown below runs Drupal. Click on the “Run” button and then the URL in front of “Your app can be found at:” to view the Drupal:
version: '3.1' services: drupal: image: drupal:8-apache container_name: drupal ports: - 80:80 volumes: - /var/www/html/modules - /var/www/html/profiles - /var/www/html/themes - /var/www/html/sites restart: always postgres: image: postgres:10 environment: POSTGRES_PASSWORD: example restart: always
Running Drupal
...