version: '3' networks: postgres: external: false services: db: image: postgres:13 restart: always ports: - "127.0.0.1:5432:5432" environment: - POSTGRES_USER=videon - POSTGRES_PASSWORD=videon - POSTGRES_DB=videon networks: - postgres volumes: - postres-volume:/var/lib/postgresql/data volumes: postres-volume: