Created
February 8, 2022 19:48
-
-
Save eramax/3332328ebe1377d7ac29a62a7d1d9d76 to your computer and use it in GitHub Desktop.
portainer docker-compose.yml
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
version: "3.9" | |
services: | |
portainer: | |
image: portainer/portainer-ce:latest | |
ports: | |
- 9000:9000 | |
container_name: portainer | |
# username: admin , password: 123 , hash command : htpasswd -nb -B admin 123 | cut -d ":" -f 2 | |
command: --admin-password "$$2y$$05$$aZhNvtX9GSAIUXPbfKq6dudTMuJcJuLnwWmz2HBnBq23fAlzrAyeu" -H unix:///var/run/docker.sock | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- ./portainer/portainer_data:/data | |
networks: | |
- portainer_network | |
networks: | |
portainer_network: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment