this post was submitted on 22 Oct 2023
1 points (100.0% liked)

Portainer

28 readers
0 users here now

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments.

founded 1 year ago
MODERATORS
 

Guy's

I'm taking my first steps in docker&portainer.

I want to begin with pihole container as a stack and I'm using below example to create it. Volumes I create are not used, why? What do I need to do? I've created them earlier in "Volumes" tab. What else I need to do?

โ€‹

version: "3"
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "80:80/tcp"
    environment:
      # WEBPASSWORD: 'password'
    volumes:
      - './etc-pihole:/etc/pihole'
      - './etc-dnsmasq.d:/etc/dnsmasq.d'
    restart: unless-stopped

โ€‹

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here