Pin the postgres container version
This commit is contained in:
parent
e16b4653c3
commit
2e706347a7
2 changed files with 4 additions and 2 deletions
|
|
@ -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: .
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue