captainVersion: 4
services:
    $$cap_appname:
        image: thajeztah/pgadmin4:$$cap_pgadmin4_version
        restart: always
        volumes:
            - $$cap_appname-data:/pgadmin
        caproverExtra:
            containerHttpPort: '5050'
caproverOneClickApp:
    variables:
        - id: $$cap_pgadmin4_version
          label: Version Tag
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/thajeztah/pgadmin4/tags/
          defaultValue: '3.6'
          validRegex: /^([^\s^\/])+$/
    instructions:
        start: >-
            pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.

              Enter your Configuration parameters and click on next. It will take about a minute for the process to finish.
        end: pgAdmin is deployed and available as $$cap_appname
    displayName: ''
    description: pgAdmin 4 is a complete rewrite of pgAdmin, built using Python and Javascript/jQuery
    documentation: 'Taken from https://hub.docker.com/r/thajeztah/pgadmin4 '
