Created
July 4, 2025 14:12
-
-
Save 0xAungkon/7919477a2e05e72783080dd93c064fbb to your computer and use it in GitHub Desktop.
Portainer Docker compose
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:alpine | |
| container_name: portainer | |
| command: -H unix:///var/run/docker.sock | |
| ports: | |
| - "8011:8000" | |
| - "9000:9000" | |
| - "9443:9443" | |
| volumes: | |
| - "/var/run/docker.sock:/var/run/docker.sock" | |
| - "portainer_data:/data" | |
| restart: always | |
| volumes: | |
| portainer_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment