diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml new file mode 100644 index 0000000..40d51d2 --- /dev/null +++ b/portainer/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3.9' + +services: + web: + image: portainer/portainer-ce:latest + restart: unless-stopped + volumes: + - /etc/localtime:/etc/localtime:ro + - data:/data + ports: + - 9000:9000 + + agent: + image: portainer/agent:latest + restart: unless-stopped + volumes: + - /var/lib/docker/volumes:/var/lib/docker/volumes + - /var/run/docker.sock:/var/run/docker.sock + +volumes: + data: \ No newline at end of file