dyne / zenpub

Reflow federated economic network
GNU Affero General Public License v3.0
13 stars 3 forks source link

Do we need to map ports 5432 in Compose file in Development? #45

Closed viktorsmari closed 3 years ago

viktorsmari commented 4 years ago

I normally have to disable the ports for the db container because it clashes with my built in postgresql I don't want to have to turn of the postgres service on my machine every time I run this project.

Can we either:

  1. Disable (remove) this by default on the docker-compose.dev.yml file?
  2. Or change the port to something else like 5433 so it does not conflict with built in postgresql?

I always have to do a git stash before I fetch now, and then apply it back after.

Is there a reason we really need those ports to be mapped?

  db:
    image: postgis/postgis:9.6-3.0-alpine
    # volumes:
    #   - "./volumes/postgres:/var/lib/postgresql/data"
    #ports:
    #- "5432:5432"
    env_file:
      - config/docker.dev.env
viktorsmari commented 3 years ago

Closed due to inactivity