Skip to content

Instantly share code, notes, and snippets.

@tkrisztian95
Created December 4, 2020 10:47
Show Gist options
  • Save tkrisztian95/ade6554366e9505deba5b791684b3f58 to your computer and use it in GitHub Desktop.
Save tkrisztian95/ade6554366e9505deba5b791684b3f58 to your computer and use it in GitHub Desktop.
A simple Portainer CE docker compose
version: '3.8'
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer-server
restart: always
ports:
- "8000:8000" #Agents
- "9000:9000" #UI
volumes:
- portainer-data:/data
- /var/run/docker.sock:/var/run/docker.sock
volumes:
portainer-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment