Skip to content

Instantly share code, notes, and snippets.

@IcyMidnight
Created March 23, 2019 09:31
Show Gist options
  • Save IcyMidnight/aacaf73f6f7b342433cc2022b43e2ddb to your computer and use it in GitHub Desktop.
Save IcyMidnight/aacaf73f6f7b342433cc2022b43e2ddb to your computer and use it in GitHub Desktop.
Docker Compose for Portainer
version: '3'
services:
portainer:
container_name: portainer
image: portainer/portainer
restart: always
ports:
- 9000:9000
environment:
- TZ=America/Los_Angeles
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment