Move portainer to it's own stack

This commit is contained in:
Marko Korhonen 2020-02-04 17:25:15 +02:00
parent c462ee2199
commit e5e12435b4
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5
2 changed files with 12 additions and 11 deletions

View File

@ -43,17 +43,6 @@ services:
depends_on:
- home-assistant
portainer:
container_name: portainer
image: portainer/portainer
restart: always
ports:
- '9000:9000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /docker/homeautomation/portainer:/data
- /etc/localtime:/etc/localtime:ro
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto

View File

@ -0,0 +1,12 @@
version: '3'
services:
portainer:
container_name: portainer
image: portainer/portainer
restart: always
ports:
- '9000:9000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /docker/homeautomation/portainer:/data
- /etc/localtime:/etc/localtime:ro