version: "3" services: pdb11: image: postgres:11 volumes: - /data:/var/lib/postgresql/data environment: POSTGRES_PASSWORD: mysecretpassword