Compare commits
No commits in common. "bacad5a70c5417983a469a70e2f2336216b59762" and "63834d48d32150fe4b007a1c913da9d227855385" have entirely different histories.
bacad5a70c
...
63834d48d3
@ -1,5 +0,0 @@
|
||||
PROJECT_URL=portainer.localhost
|
||||
|
||||
PROJECT_NAME=sample
|
||||
|
||||
TRAEFIK_NETWORK=traefik_net
|
@ -1,31 +0,0 @@
|
||||
version: '1'
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: "${TRAEFIK_NETWORK}"
|
||||
external: true
|
||||
|
||||
services:
|
||||
portainer:
|
||||
image: "portainer/portainer-ce:alpine"
|
||||
container_name: "${PROJECT_NAME}_portainer"
|
||||
hostname: "${PROJECT_URL}"
|
||||
command: "-H unix:///var/run/docker.sock"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "data:/data"
|
||||
restart: always
|
||||
labels:
|
||||
# Watchtower add to auto update
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
# traefik
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=${TRAEFIK_NETWORK}"
|
||||
- "traefik.http.routers.${PROJECT_NAME}_portainer.rule=Host(`${PROJECT_URL}`)"
|
||||
- "traefik.http.routers.${PROJECT_NAME}_portainer.entrypoints=websecure"
|
||||
- "traefik.http.routers.${PROJECT_NAME}_portainer.tls=true"
|
||||
- "traefik.http.services.${PROJECT_NAME}_portainer.loadbalancer.server.port=9000"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
name: "${PROJECT_NAME}-portainer-data"
|
Loading…
Reference in New Issue
Block a user