Move portainer to it's own stack

This commit is contained in:
Marko Korhonen 2020-02-04 17:25:15 +02:00
parent 3b374a70d5
commit 0e08dea809
2 changed files with 12 additions and 11 deletions

View file

@ -43,17 +43,6 @@ services:
depends_on: depends_on:
- home-assistant - 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: mosquitto:
container_name: mosquitto container_name: mosquitto
image: eclipse-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