Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. hardik.turakhia

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    H Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    hardik.turakhia

    @hardik.turakhia

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    hardik.turakhia Unfollow Follow

    Latest posts made by hardik.turakhia

    • RE: Proget Installation as container with external Postgres

      @rhessinger,
      Thanks Rich.

      The above snippet did solve the connection issue.
      And one important point which I had missed was setting env for PROGET_ENCRYPTION_KEY
      There are 2 challenges I faced.

      I while setting up to implement SSL and HTTPS only, I am facing a lot of confusion in type of certificate I should put in.

        1. I did try with putting a .crt & .key, however it seems ProGet expects in specific format.

        1. I was able to manage putting nginx in front of ProGet, but while connecting feeds it would resolve internal ports (like http://{IP-Address:80}/nuget/test-feed/v3/index.json)

      I am keen to resolve it via, standalone with nginx.

      Your help is truly appreciated.
      Thanks.

      posted in Support
      H
      hardik.turakhia
    • Proget Installation as container with external Postgres

      Hello,
      I am looking to achieve the following:
      Using ProGet image (container) via docker compose, connecting to external (org) Postgres database
      Adding snippet of docker compose, I made referring documentation and AI's help. However, was not successful is getting this to work properly.

      Proget does start up but with its own internal database.
      Requesting help to correctly setup

      networks:
        proget: 
          driver: bridge
      volumes:
        postgres-data:
          external: true
      services:
        proget:
          image: proget.inedo.com/productimages/inedo/proget:latest
          container_name: proget
          restart: unless-stopped
          ports:
            - "8624:80"
          volumes:
            - ./proget-packages:/var/proget/packages
            - ./proget-database:/var/proget/database
            - ./proget-backups:/var/proget/backups
            - ./volumes/packages:/var/proget/packages
            - ./volumes/config:/var/proget/config
            - ./volumes/logs:/var/proget/logs
            - ./volumes/extensions:/var/proget/extensions
            - ./volumes/backups:/var/proget/backups
            - ./certs:/certs:ro
          depends_on:
            - db
          networks:
            - proget
          environment:
            # ASPNETCORE_HTTPS_PORT: "443"
            # ASPNETCORE_URLS: "https://*:443"
            # ASPNETCORE_Kestrel__Certificates__Default__Path: "/certs/proget.pfx"
            # ASPNETCORE_Kestrel__Certificates__Default__Password: "${SSL_CERT_PASSWORD}"
            PROGET_DB_TYPE: "PostgreSQL"
            # PROGET_POSTGRES_CONNECTION_STRING: Server=postgres;Port=5432;Database=proget;Password=Pass@123;Username=root;
            # PROGET_POSTGRES_CONNECTION_STRING: Host=${DB_SERVER_HOST};Port=${DB_SERVER_PORT};Database=${DB_NAME};Username=${DB_USERNAME};Password=${DB_PASSWORD};
            TZ: "${TZ}"
          healthcheck:
            test: ["CMD","curl","-k","https://localhost:443/health"]
            interval: 30s
            timeout: 10s
            retries: 5
            start_period: 60s
        db:   
           image: postgres:16
           container_name: postgres
           environment:
               POSTGRES_USER: ${DB_USERNAME}
               POSTGRES_PASSWORD: ${DB_PASSWORD}
               POSTGRES_DB: ${DB_NAME}
           networks:
               - proget
           volumes:
               - postgres-data:/var/lib/postgresql/data
           # Uncomment if you want to connect to DB
           ports:
           - "4001:5432"
      

      3390bee9-5d7c-4750-8d06-ec522e048a8f-image.jpeg

      posted in Support proget-installa
      H
      hardik.turakhia