Changes between Version 26 and Version 27 of DevWikiDockerTesting


Ignore:
Timestamp:
01/30/23 13:13:41 (22 months ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiDockerTesting

    v26 v27  
    2727  --name postgis-dev \
    2828  --mount type=bind,source="$(pwd)/projects",target=/projects \
    29   -p 6445:5436/tcp \
     29  -p 6432:5432/tcp \
     30  -p 6433:5433/tcp \
     31  -p 6434:5434/tcp \
     32  -p 6435:5435/tcp \
     33  -p 6436:5436/tcp \
     34  -p 6437:5437/tcp \
    3035  docker.osgeo.org/postgis/build-test:trisquel3  tail -f /dev/null
    3136
     
    3641
    3742
    38 #once started you can attach to it
     43#once started you can attach to the container using
    3944docker exec -it postgis-dev /bin/bash
    4045
     
    5055# change whatever to something more secure, if you care
    5156psql -U postgres -p 5436 -c "ALTER ROLE postgres PASSWORD 'whatever';"
    52 echo "host  all all 0.0.0.0/0 scram-sha-256" >> /etc/postgresql/${PGVER}/main/pg_hba.
     57echo "host  all all 0.0.0.0/0 scram-sha-256" >> /etc/postgresql/${PGVER}/main/pg_hba.conf
     58#shows you list of associate ports for each postgres version (connecting from your host machine would be 6 instead of 5)
     59pg_lsclusters
     60
    5361
    5462service postgresql restart ${PGVER}