Pin the postgres container version

This commit is contained in:
Henne Vogelsang 2021-03-06 01:29:42 +01:00
parent e16b4653c3
commit 2e706347a7
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
2 changed files with 4 additions and 2 deletions

View file

@ -2,9 +2,10 @@ version: "2"
services: services:
database: database:
image: postgres image: postgres:12-alpine
environment: environment:
PGDATA: /var/lib/postgresql/data/pgdata PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_PASSWORD: mysecretpassword
osem: osem:
build: build:
context: . context: .

View file

@ -2,9 +2,10 @@ version: "2"
services: services:
production_database: production_database:
image: postgres image: postgres:12-alpine
environment: environment:
PGDATA: /var/lib/postgresql/data/pgdata PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_PASSWORD: mysecretpassword
volumes: volumes:
- osem_production_database:/var/lib/postgresql/data/pgdata - osem_production_database:/var/lib/postgresql/data/pgdata
production_web: production_web: