Guest User

Untitled

a guest
Feb 26th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. version: '3'
  2. services:
  3. apkconf-web:
  4. image: brouzie/php:7.1
  5. container_name: apkconf-web
  6. hostname: apkconf-web
  7. depends_on:
  8. - apkconf-postgres
  9. links:
  10. - apkconf-postgres
  11. external_links:
  12. - mailcatcher
  13. - apkwf-web
  14. - apkwf-web:apkwf.test
  15. networks:
  16. - default
  17. - apkwf_default
  18. - global_default
  19. volumes:
  20. - composer-cache-volume:/home/dev/.composer/cache
  21. - ./mount/var/log/apache2:/var/log/apache2
  22. - ./mount/etc/apache2/sites-enabled:/etc/apache2/sites-enabled
  23. - ./..:/var/www/html
  24. environment:
  25. PASSWORD: 112233
  26. EXPOSE_HOSTS: |-
  27. apkconf.test
  28.  
  29. apkconf-postgres:
  30. image: postgres:9.6
  31. container_name: apkconf-postgres
  32. volumes:
  33. - postgres-data-volume:/var/lib/postgresql/data
  34. environment:
  35. POSTGRES_DB: apkconf
  36. POSTGRES_USER: apkconf
  37. POSTGRES_PASSWORD: apkconf
  38.  
  39. volumes:
  40. postgres-data-volume:
  41. composer-cache-volume:
  42. external: true
  43.  
  44. networks:
  45. global_default:
  46. external: true
  47. apkwf_default:
  48. external: true
Add Comment
Please, Sign In to add comment