Changes between Version 24 and Version 25 of DevWikiDockerTesting


Ignore:
Timestamp:
01/30/23 13:02:55 (21 months ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiDockerTesting

    v24 v25  
    2222
    2323#this might take a minute or so after download to start up
     24# the below exposes the 5436 port of container as 6445 of the host, you can add additional for each cluster
     25
    2426docker run -d \
    2527  --name postgis-dev \
    2628  --mount type=bind,source="$(pwd)/projects",target=/projects \
     29  -p 6445:5436/tcp \
    2730  docker.osgeo.org/postgis/build-test:trisquel3  tail -f /dev/null
    2831
     
    4346export PGPORT=`grep ^port /etc/postgresql/$PGVER/main/postgresql.conf | awk '{print $3}'`
    4447export PATH=/usr/lib/postgresql/$PGVER/bin:$PATH
     48#do this to be able to access from host
     49psql -U postgres -c "ALTER SYSTEM SET listen_addresses='*';"
     50# change whatever to something more secure, if you care
     51psql -U postgres -p 5436 -c "ALTER ROLE postgres PASSWORD 'whatever';"
     52service postgresql restart ${PGVER}
     53echo
    4554
    4655sh autogen.sh
     
    8998docker pull postgis/postgis-build-env:latest
    9099#this might take a minute or so after download to start up
     100# this will expose the postgresql 5432 port, to host as 6444 (to prevent conflict with any other postgresql you are running on your host machine
    91101docker run -d \
    92102  --name postgis-build-env \