mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-03 12:35:59 +01:00
add portainer
This commit is contained in:
parent
4d399487bf
commit
ad2a0c2724
2 changed files with 20 additions and 0 deletions
9
playbooks/apps/files/portainer/docker-compose.yaml
Normal file
9
playbooks/apps/files/portainer/docker-compose.yaml
Normal 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"
|
11
playbooks/apps/portainer.yaml
Normal file
11
playbooks/apps/portainer.yaml
Normal 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
|
Loading…
Reference in a new issue