summaryrefslogtreecommitdiff
path: root/docker-compose.example.yaml
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-30 19:07:06 +0000
committerRoger Gonzalez <roger@rogs.me>2023-01-30 19:07:06 +0000
commitb269f8d03e5af9c63575cd525a060aa699356bbf (patch)
treec104eeb160deff618f3d0952c8d9902f31b7cc97 /docker-compose.example.yaml
parent030067af92980423973a68b6fb372df11bc61f62 (diff)
parentb0b6b5dc1620249fd2cd88ec5096e512f2ce5c33 (diff)
Merge branch 'add-portainer' into 'master'
Add portainer See merge request rogs/yams!4
Diffstat (limited to 'docker-compose.example.yaml')
-rw-r--r--docker-compose.example.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml
index e9356bd..4c80437 100644
--- a/docker-compose.example.yaml
+++ b/docker-compose.example.yaml
@@ -116,6 +116,18 @@ services:
- SERVER_COUNTRIES=<vpn_country>
restart: unless-stopped
+ # Portainer helps debugging and monitors the containers
+ portainer:
+ image: portainer/portainer-ce
+ container_name: portainer
+ ports:
+ - 9000:9000
+ 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
watchtower:
image: containrrr/watchtower