summaryrefslogtreecommitdiff
path: root/docker-compose.example.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.example.yaml')
-rw-r--r--docker-compose.example.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml
index f4fb119..4c80437 100644
--- a/docker-compose.example.yaml
+++ b/docker-compose.example.yaml
@@ -118,13 +118,14 @@ services:
# Portainer helps debugging and monitors the containers
portainer:
- image: portainer/agent
+ image: portainer/portainer-ce
container_name: portainer
ports:
- - 9001:9001
+ - 9000:9000
volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - /var/lib/docker/volumes:/var/lib/docker/volumes
+ - /etc/localtime:/etc/localtime:ro
+ - /var/run/docker.sock:/var/run/docker.sock:ro
+ - <install_location>/config/portainer:/data
restart: unless-stopped
# Watchtower is going to keep our instances updated