Last active
December 10, 2022 13:19
-
-
Save bachkukkik/f8275e010cd99522f596655ae2611a55 to your computer and use it in GitHub Desktop.
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: | |
container_name: portainer | |
image: portainer/portainer-ce | |
command: -H unix:///var/run/docker.sock | |
restart: always | |
ports: | |
- 8000:8000 | |
- 9000:9000 | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- portainer_data:/data | |
cloudflared: | |
container_name: cloudflared | |
image: cloudflare/cloudflared:latest | |
command: "tunnel --no-autoupdate run --token ${CLOUDFLARE_TOKEN}" | |
restart: always | |
volumes: | |
portainer_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment