Create docker-compose.yaml
This commit is contained in:
parent
6e00e0aa3f
commit
f3ae49a378
|
@ -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:
|
Loading…
Reference in New Issue