Created
January 3, 2025 01:34
-
-
Save wellingtonpgp/d583f18f6956562437db87eb8a566170 to your computer and use it in GitHub Desktop.
Portainer
This file contains hidden or 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
services: | |
portainer: | |
image: portainer/portainer-ce:latest | |
container_name: portainer | |
restart: always | |
ports: | |
- "9000:9000" # Porta de acesso ao Portainer | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock # Permite o gerenciamento do Docker local | |
- portainer_data:/data # Volume persistente para os dados do Portainer | |
volumes: | |
portainer_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment