Updating postgres. Stubbing in nginx in ansible, but this needs to be rewritten with docker-compose.

This commit is contained in:
Samuel Clay 2021-01-22 19:22:45 -05:00
parent 1d87af414d
commit dc5d390cf1
4 changed files with 7 additions and 3 deletions

View file

@ -52,3 +52,7 @@ keys:
- openssl req -new -nodes -newkey rsa:2048 -keyout config/certificates/localhost.key -out config/certificates/localhost.csr -subj "/C=US/ST=YourState/L=YourCity/O=Example-Certificates/CN=localhost.local"
- openssl x509 -req -sha256 -days 1024 -in config/certificates/localhost.csr -CA config/certificates/RootCA.pem -CAkey config/certificates/RootCA.key -CAcreateserial -extfile config/domains.ext -out config/certificates/localhost.crt
- cat config/certificates/localhost.crt config/certificates/localhost.key > config/certificates/localhost.pem
# Lists all Digital Ocean machines, DO_API_TOKEN must be set
list:
- doctl compute droplet list

View file

@ -9,4 +9,5 @@
roles:
# - base
# - docker
- nginx
- web

View file

@ -55,7 +55,7 @@ services:
postgres:
container_name: postgres
image: postgres:9.6
image: postgres:13.1
environment:
- POSTGRES_USER=newsblur
- POSTGRES_PASSWORD=newsblur
@ -265,4 +265,4 @@ volumes:
driver_opts:
type: nfs
device: $PWD/node
o: bind
o: bind

View file

@ -16,7 +16,6 @@ RUN set -ex \
libblas-dev \
libffi-dev \
libjpeg-dev \
default-libmysqlclient-dev \
libpq-dev \
libreadline6-dev \
liblapack-dev \