Changes between Version 24 and Version 25 of DevWikiDockerTesting
- Timestamp:
- 01/30/23 13:02:55 (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiDockerTesting
v24 v25 22 22 23 23 #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 24 26 docker run -d \ 25 27 --name postgis-dev \ 26 28 --mount type=bind,source="$(pwd)/projects",target=/projects \ 29 -p 6445:5436/tcp \ 27 30 docker.osgeo.org/postgis/build-test:trisquel3 tail -f /dev/null 28 31 … … 43 46 export PGPORT=`grep ^port /etc/postgresql/$PGVER/main/postgresql.conf | awk '{print $3}'` 44 47 export PATH=/usr/lib/postgresql/$PGVER/bin:$PATH 48 #do this to be able to access from host 49 psql -U postgres -c "ALTER SYSTEM SET listen_addresses='*';" 50 # change whatever to something more secure, if you care 51 psql -U postgres -p 5436 -c "ALTER ROLE postgres PASSWORD 'whatever';" 52 service postgresql restart ${PGVER} 53 echo 45 54 46 55 sh autogen.sh … … 89 98 docker pull postgis/postgis-build-env:latest 90 99 #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 91 101 docker run -d \ 92 102 --name postgis-build-env \