feat: Adds portainer and portainer agent.
This commit is contained in:
8
portainer/README.md
Normal file
8
portainer/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Portainer
|
||||
|
||||
Portainer is a container orchestration tool / interface that gives a web portal to view containers
|
||||
running on different machines.
|
||||
|
||||
The primary `compose.yml` file is the primary portainer docker compose file, and is used for the
|
||||
primary portainer instance. The `agent-compose.yml` is used on other / extra machines that you would
|
||||
like to integrate into the primary portainer instance known as `environments`.
|
||||
16
portainer/agent-compose.yml
Normal file
16
portainer/agent-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
services:
|
||||
portainer_agent:
|
||||
image: portainer/agent:latest
|
||||
container_name: portainer_agent
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker/volumes:/var/lib/docker/volumes:
|
||||
ports:
|
||||
- 9001:9001
|
||||
labels:
|
||||
com.centurylink.watchtower.enable: true
|
||||
18
portainer/compose.yml
Normal file
18
portainer/compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:alpine-sts
|
||||
container_name: portainer
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./data:/data
|
||||
networks:
|
||||
- proxy
|
||||
ports:
|
||||
- 9010:9000 # optional if behind reverse proxy.
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
Reference in New Issue
Block a user