add portainer

This commit is contained in:
Gabriel Augendre 2024-10-12 12:48:33 +02:00
parent 4d399487bf
commit ad2a0c2724
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,9 @@
services:
portainer:
image: portainer/portainer-ee:latest
restart: always
volumes:
- ./portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9001:9443"

View file

@ -0,0 +1,11 @@
---
- name: Portainer
hosts: servers
gather_facts: false
tasks:
- name: Docker
ansible.builtin.include_role:
name: docker
vars:
docker_app_name: portainer