Docker - update postgres container configuration

This commit is contained in:
Igor Kulikov 2020-02-27 09:58:29 +02:00
parent e563939c66
commit e9befd0a50

View File

@ -19,11 +19,12 @@ version: '2.2'
services: services:
postgres: postgres:
restart: always restart: always
image: "postgres:10" image: "postgres:11.6"
ports: ports:
- "5432" - "5432"
environment: environment:
POSTGRES_DB: thingsboard POSTGRES_DB: thingsboard
POSTGRES_PASSWORD: postgres
volumes: volumes:
- ./tb-node/postgres:/var/lib/postgresql/data - ./tb-node/postgres:/var/lib/postgresql/data
tb1: tb1: