volumes:
- /var/lib/docker/old/95390d0fa0cb02a9baf131967acc27a65a23b073ab0201c4935de53d6f87ae2e/_data/:/var/lib/postgresql/data/
version: '3.1'
services:
db:
image: postgres:13.4
container_name: postgres13
restart: always
environment:
POSTGRES_PASSWORD: strong_password
volumes:
- ./data:/var/lib/postgresql/data
ports:
- '5432:5432'