1
0

docker-compose.yml 471 B

1234567891011121314151617
  1. version: '2'
  2. services:
  3. apache2:
  4. image: ubuntu/apache2
  5. ports:
  6. - '8085:80'
  7. environment:
  8. # ALLOW_EMPTY_PASSWORD is recommended only for development.
  9. - TZ=UTC
  10. volumes:
  11. - '/home/primerp/website:/var/www/html'
  12. - './my-httpd.conf:/usr/local/apache2/conf/httpd.conf'
  13. # command:
  14. # - sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
  15. #- a2enmod rewrite
  16. #- rc-service apache2 restart