ansible portainer and auto-update
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: portainer.yml
|
||||
@@ -0,0 +1,14 @@
|
||||
- name: Portainer - Docker Container Setup
|
||||
become: true
|
||||
community.docker.docker_container:
|
||||
name: portainer
|
||||
image: portainer/portainer-ce
|
||||
state: started
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- portainer:/data
|
||||
ports:
|
||||
- "9443:9443"
|
||||
- "8000:8000"
|
||||
Reference in New Issue
Block a user