Merge pull request #24 from agrestic1/patch-1

container_name -> name
This commit is contained in:
Christian 2022-01-21 09:30:43 +01:00 committed by GitHub
commit 8d915393cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
#
- name: Deploy Portainer
community.docker.docker_container:
container_name: portainer
name: portainer
image: "docker.io/portainer/portainer-ce"
ports:
- "8000:8000"
@ -23,4 +23,4 @@
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
restart_policy: always
restart_policy: always