Move portainer to it's own stack
This commit is contained in:
parent
c462ee2199
commit
e5e12435b4
2 changed files with 12 additions and 11 deletions
|
@ -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
|
||||||
|
|
12
docker/portainer/docker-compose.yaml
Normal file
12
docker/portainer/docker-compose.yaml
Normal 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
|
Loading…
Reference in a new issue