version: "3" services: msf-postgresdb: container_name: msf-postgresdb image: postgres restart: on-failure environment: POSTGRES_PASSWORD: ecfuzz ports: - "5432:5432" volumes: - ./metasploit-db:/var/lib/postgresql/data stop_grace_period: 10m