diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0309442 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +services: + portainer: + image: portainer/portainer-ce:latest + container_name: portainer + restart: unless-stopped + ports: + - "9000:9000" + volumes: + - /var/run/docker.sock:/var/run/docker.sock # ← доступ к Docker + - portainer_data:/data # ← БД (настройки, юзеры) + # Опционально: ограничение ресурсов + # mem_limit: 512m + +volumes: + portainer_data: \ No newline at end of file