docker-compose.yml 537 B

1234567891011121314151617181920212223242526
  1. # Drupal with PostgreSQL
  2. #
  3. # Access via "http://localhost:8080" (or "http://$(docker-machine ip):8080" if using docker-machine)
  4. #
  5. # During initial Drupal setup,
  6. # Database type: PostgreSQL
  7. # Database name: postgres
  8. # Database username: postgres
  9. # Database password: example
  10. # ADVANCED OPTIONS; Database host: postgres
  11. version: '2'
  12. services:
  13. drupal:
  14. image: drupal:8.2-apache
  15. ports:
  16. - 8080:80
  17. restart: always
  18. postgres:
  19. image: postgres:9.6
  20. environment:
  21. POSTGRES_PASSWORD: example
  22. restart: always