Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. version: '3'
  2. services:
  3. apache:
  4. build: .docker/apache
  5. container_name: sf3_apache
  6. ports:
  7. - 80:80
  8. volumes:
  9. - .docker/config/vhosts:/etc/apache2/sites-enabled
  10. - .:/home/wwwroot/sf3
  11. depends_on:
  12. - php
  13.  
  14. postgres:
  15. # build: .docker/PostgreSQL
  16. image: postgres:9.6-alpine
  17. volumes:
  18. - /srv/docker/postgresql:/var/lib/postgresql
  19. environment:
  20. - POSTGRES_USER=postgres
  21. - POSTGRES_PASSWORD=ccvv6633
  22. - POSTGRES_DB=inlucc
  23. ports:
  24. - "5432:5432"
  25.  
  26. php:
  27. build: .docker/php
  28. volumes:
  29. - .:/home/wwwroot/sf3
  30. environment:
  31. - maildev_host=sf3_maildev
  32. depends_on:
  33. - maildev
  34. - postgres
  35. maildev:
  36. image: djfarrelly/maildev
  37. container_name: sf3_maildev
  38. ports:
  39. - 8001:80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement