Created
January 1, 2023 01:20
-
-
Save dudefoxlive/536ac9d894bbab65a68a271718f54881 to your computer and use it in GitHub Desktop.
Portainer CE Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "3" | |
services: | |
portainer: | |
image: portainer/portainer-ce:latest | |
container_name: portainer | |
restart: unless-stopped | |
ports: | |
- "8000:8000" | |
- "9443:9443" | |
volumes: | |
- portainer_data:/data | |
- /var/run/docker.sock:/var/run/docker.sock | |
volumes: | |
portainer_data: | |
driver: local | |
name: portainer_data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment