move python stuff to postgres container
This commit is contained in:
parent
e9a3b3eb1b
commit
868af65745
@ -4,7 +4,6 @@ RUN apt-get update -y
|
||||
RUN apt-get upgrade -y
|
||||
|
||||
RUN apt-get install -y build-essential wget
|
||||
RUN apt-get install -y python3 python3-pip python3-dev python3-venv
|
||||
RUN apt-get install parallel -y
|
||||
|
||||
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
|
||||
|
@ -8,6 +8,8 @@ apt-get install -y postgresql-contrib libpq-dev postgis
|
||||
apt-get install -y postgresql-13-postgis-3
|
||||
apt-get install -y gdal-bin libspatialindex-dev libgeos-dev libproj-dev
|
||||
|
||||
apt-get install -y python3 python3-pip python3-dev python3-venv
|
||||
|
||||
sed -i "s/#\?listen_address.*/listen_addresses '*'/" /etc/postgresql/13/main/postgresql.conf
|
||||
echo "host all all all md5" | tee --append /etc/postgresql/13/main/pg_hba.conf > /dev/null
|
||||
service postgresql restart
|
||||
|
Loading…
Reference in New Issue
Block a user