Добавить docker-compose.yml

This commit is contained in:
Andrey 2026-01-06 22:23:41 +07:00
parent be4f16269e
commit 5ff6f195e9

15
docker-compose.yml Normal file
View File

@ -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: