2020-03-25 21:27:15 +00:00
|
|
|
version: "2.3"
|
2020-01-28 22:02:02 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
portainer:
|
2020-02-07 09:04:06 +00:00
|
|
|
image: portainer/portainer:latest
|
2020-01-28 22:02:02 +00:00
|
|
|
container_name: portainer
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- ./data:/data
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.portainer.rule=Host(`portainer.jakehoward.tech`)"
|
|
|
|
- "traefik.http.routers.portainer.tls=true"
|
|
|
|
- "traefik.http.routers.portainer.tls.certresolver=le"
|
|
|
|
- "traefik.http.routers.portainer.middlewares=internal-only@file"
|