Goal: Create a compose config for a local Drupal CMS website
- This empty directory is where you should create a docker-compose.yml
- Use the
drupal:8.8.2
image along with thepostgres:12.1
image - Set the version to 2
- Use
ports
to expose Drupal on 8080 - Be sure to setup POSTGRES_PASSWORD on postgres image
- Walkthrough Drupal config in browser at
http://localhost:8080
- Tip: Drupal assumes DB is localhost, but it will actually be on the compose service name you give it
- Use Docker Hub documentation to figure out the right environment and volume settings
- Extra Credit: Use volumes to store Drupal unique data