Create docker-compose.yaml

This commit is contained in:
tehNooB 2023-09-20 23:57:57 +01:00 committed by GitHub
parent 6e00e0aa3f
commit f3ae49a378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
version: "3"
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
ports:
- 8000:8000
- 9443:9443
- 9000:9000 # for http
volumes:
- portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
volumes:
portainer_data: