Добавить docker-compose.yml
This commit is contained in:
parent
be4f16269e
commit
5ff6f195e9
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal 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:
|
||||
Loading…
Reference in New Issue
Block a user