portainer: add main task
This commit is contained in:
parent
7e7c28d68c
commit
f2d80dbe15
|
@ -0,0 +1,12 @@
|
||||||
|
- name: run container
|
||||||
|
docker_container:
|
||||||
|
name: 'portainer'
|
||||||
|
image: portainer/portainer-ce
|
||||||
|
networks:
|
||||||
|
- name: bridge
|
||||||
|
volumes:
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
- "9000:9000"
|
||||||
|
state: started
|
Loading…
Reference in New Issue