first commit

This commit is contained in:
Nicholas Yeoman
2020-02-28 13:34:18 -08:00
commit 027d2926ba
4 changed files with 105 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
version: '3.3'
volumes:
portainer:
networks:
traefik_web:
external:
name: traefik_web
services:
portainer:
image: portainer/portainer
command: -H unix:///var/run/docker.sock
restart: always
networks:
- traefik_web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer:/data
command: -H unix:///var/run/docker.sock
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.nickyeoman.com`)"
- "traefik.http.routers.portainer.entrypoints=websecure"
- "traefik.http.routers.portainer.tls=true"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"