Category : portainer

I have an .NET 5 API and I downloaded Prometheus and App.Metrics NuGet packages: <ItemGroup> <PackageReference Include="App.Metrics.AspNetCore" Version="4.2.0" /> <PackageReference Include="App.Metrics.AspNetCore.All" Version="4.2.0" /> <PackageReference Include="App.Metrics.Formatters.Prometheus" Version="4.2.0" /> <PackageReference Include="App.Metrics.Prometheus" Version="4.2.0" /> <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.9" /> <PackageReference Include="prometheus-net" Version="5.0.2" /> <PackageReference Include="prometheus-net.AspNetCore" Version="5.0.2" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" /> </ItemGroup> My StartUp.cs looks like this: public class ..

Read more

I am trying to get traefik work with portainer but nothing so far. My goal is to just type http://localhost/portainer and let traefik redirect to portainer portal. So far my docker-compose looks like this: services: reverse-proxy: image: traefik container_name: "traefik" networks: – traefik_net ports: – "80:80" – "8080:8080" volumes: – "/var/run/docker.sock:/var/run/docker.sock" – "./traefik.yml:/traefik.yml:ro" portainer: image: ..

Read more

I try to deploy Apache Cassandra cluster with docker-compose in Portainer. ”’ version: ‘2’ services: cassandra-node1: image: bitnami/cassandra:latest ports: – ‘7000:7000’ – ‘9042:9042’ environment: – CASSANDRA_CLUSTER_NAME=cassandra-cluster – CASSANDRA_SEEDS=cassandra-node1,cassandra-node2,cassandra-node3 – CASSANDRA_PASSWORD_SEEDER=yes – CASSANDRA_PASSWORD=pa$$word – CASSANDRA_TRANSPORT_PORT_NUMBER=7000 cassandra-node2: image: bitnami/cassandra:latest environment: – CASSANDRA_CLUSTER_NAME=cassandra-cluster – CASSANDRA_SEEDS=cassandra-node1,cassandra-node2,cassandra-node3 – CASSANDRA_PASSWORD=pa$$word – CASSANDRA_TRANSPORT_PORT_NUMBER=7000 cassandra-node3: image: bitnami/cassandra:latest environment: – CASSANDRA_CLUSTER_NAME=cassandra-cluster – CASSANDRA_SEEDS=cassandra-node1,cassandra-node2,cassandra-node3 – ..

Read more

I have Portainer CE 2.9.2 running in a docker container. I’m starting it with the –sslcert and –sslkey options to specify my own certificate, but the browser keeps showing the built-in certificate, self-signed by localhost and not my certificate. I’m starting Portainer with Ansible’s Community Docker module. The syntax is nearly identical to docker compose. ..

Read more