Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- version: "3.6"
- services:
- portainer:
- container_name: portainer
- entrypoint:
- - /portainer
- environment:
- - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- - TZ=America/New_York
- image: portainer/portainer-ce:latest
- ipc: shareable
- ports:
- - 9000:9000/tcp
- command: -H unix:///var/run/docker.sock
- restart: always
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - /docker/portainer/config:/data
- working_dir: /
- pihole:
- container_name: pihole
- image: pihole/pihole:latest
- ports:
- - "53:53/tcp"
- - "53:53/udp"
- - "67:67/udp"
- - "80:80/tcp"
- environment:
- TZ: 'America/New_York'
- WEBPASSWORD: 'topsecretpassword'
- # Volumes store your data between container upgrades
- volumes:
- - './etc-pihole/:/etc/pihole/'
- - './etc-dnsmasq.d/:/etc/dnsmasq.d/'
- cap_add:
- - NET_ADMIN
- restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement