Skip to content

Instantly share code, notes, and snippets.

@bachkukkik
Last active December 10, 2022 13:19
Show Gist options
  • Save bachkukkik/f8275e010cd99522f596655ae2611a55 to your computer and use it in GitHub Desktop.
Save bachkukkik/f8275e010cd99522f596655ae2611a55 to your computer and use it in GitHub Desktop.
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