Add Portainer stack matching current CLI install
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
version: '3.8'
|
||||
|
||||
volumes:
|
||||
portainer_data:
|
||||
|
||||
services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:lts
|
||||
container_name: portainer
|
||||
restart: always
|
||||
ports:
|
||||
- "8000:8000" # Agent port (you have this)
|
||||
- "9000:9000" # Main HTTP UI
|
||||
- "9443:9443" # HTTPS UI
|
||||
volumes:
|
||||
- portainer_data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- TZ=America/New_York # ← Change to your actual timezone
|
||||
Reference in New Issue
Block a user