MMGIS icon indicating copy to clipboard operation
MMGIS copied to clipboard

Spaceapps

Open andresinho20049 opened this issue 2 years ago • 2 comments

Purpose

  • run project with docker without difficulties
db:
    image: postgis/postgis:10-2.5-alpine
    env_file: .env
    ports:
      - 5433:5432
    restart: on-failure
    volumes:
      - mmgis-db:/var/lib/postgresql/data
      - ./Database:/usr/src/app/Database
      - ./Database/PgSQL_queries/mmgisDB_queries.sql:/docker-entrypoint-initdb.d/mmgisDB_queries.sql

The base of this image is the postgres image which has a docker entrypoint to start along with the container.

Bash and SQL scripts;

Proposed Changes

  • [ADD] Docker entrypoint with init DB for started config
  • [CHANGE] Run mode for developer

Testing

  • Test Container to integrate and test unit

andresinho20049 avatar Oct 05 '23 08:10 andresinho20049

Pull request

I'm participating in the space apps challenge and I've been studying a lot about the EMIT challenge.

/change

andresinho20049 avatar Oct 05 '23 08:10 andresinho20049

Hi @andresinho20049 and thanks for the PR!

A couple of things:

  • Please PR into the development branch. master is solely for the latest release.
    • (I agree there should be a contributing guide that says this.)
  • Everything in the /Database folder is legacy, unused and probably should be deleted.

tariqksoliman avatar Oct 05 '23 16:10 tariqksoliman