Configuring Amazon Elastic Beanstalk with PostGIS

前端 未结 6 945
自闭症患者
自闭症患者 2021-01-05 09:47

Does anyone have any experience setting up Amazon Elastic Beanstalk with PostGIS (so that I can take advantage of Geodjango)?

There are a number of features that th

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-05 10:12

    As i mentioned here my solution for a 2017.03 image was:

    commands:
      01_yum_update:
        command: sudo yum -y update
      02_epel_repo:
        command: sudo yum-config-manager -y --enable epel
      03_install_gdal_packages:
        command: sudo yum -y install gdal gdal-devel
    
    files:
      "/etc/httpd/conf.d/wsgihacks.conf":
        mode: "000644"
        owner: root
        group: root
        content: |
          WSGIPassAuthorization On
    
    packages:
      yum:
        git: []
        postgresql95-devel: []
        gettext: []
        libjpeg-turbo-devel: []
        libffi-devel: []
    

提交回复
热议问题