docker-compose.yml
This commit is contained in:
101
docker-compose.yml
Normal file
101
docker-compose.yml
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
services:
|
||||||
|
# esphome:
|
||||||
|
# container_name: esphome
|
||||||
|
# image: ghcr.io/esphome/esphome
|
||||||
|
# volumes:
|
||||||
|
# - /path/to/esphome/config:/config
|
||||||
|
# - /etc/localtime:/etc/localtime:ro
|
||||||
|
# restart: always
|
||||||
|
# privileged: true
|
||||||
|
# network_mode: bridge
|
||||||
|
# environment:
|
||||||
|
# - USERNAME=silver
|
||||||
|
# - PASSWORD=cbvgcjy0
|
||||||
|
# ports:
|
||||||
|
# - "6052:6052"
|
||||||
|
# - "6053:6053"
|
||||||
|
|
||||||
|
homeassistant:
|
||||||
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
|
container_name: homeassistant
|
||||||
|
privileged: true
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
volumes:
|
||||||
|
- /home/homeassistant/.homeassistant/:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
environment:
|
||||||
|
TZ: Asia/Yekaterinburg
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
portainer:
|
||||||
|
image: portainer/portainer-ce:latest
|
||||||
|
container_name: portainer
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- portainer_data:/data
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
- "9443:9443"
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
portainer_agent:
|
||||||
|
image: portainer/agent
|
||||||
|
restart: always
|
||||||
|
container_name: portainer_agent
|
||||||
|
ports:
|
||||||
|
- "9001:9001"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||||
|
network_mode: bridge
|
||||||
|
|
||||||
|
mosquitto:
|
||||||
|
image: eclipse-mosquitto:latest
|
||||||
|
container_name: mosquitto
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "1883:1883" # MQTT default port
|
||||||
|
- "8080:8080"
|
||||||
|
# - "9001:9001" # WebSockets port (optional)
|
||||||
|
volumes:
|
||||||
|
- ./mosquitto/config:/mosquitto/config
|
||||||
|
- ./mosquitto/data:/mosquitto/data
|
||||||
|
- ./mosquitto/log:/mosquitto/log
|
||||||
|
network_mode: bridge
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Yekaterinburg # Adjust timezone as needed
|
||||||
|
|
||||||
|
ntp:
|
||||||
|
build: .
|
||||||
|
image: cturra/ntp:latest
|
||||||
|
container_name: ntp
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 123:123/udp
|
||||||
|
environment:
|
||||||
|
- LOG_LEVEL=0
|
||||||
|
- TZ=Asia/Yekaterinburg
|
||||||
|
volumes:
|
||||||
|
- ./chrony/chrony.conf:/etc/chrony.conf:ro
|
||||||
|
|
||||||
|
# deepstack:
|
||||||
|
# container_name: deepstack
|
||||||
|
# image: robmarkcole/deepstack-ui:latest
|
||||||
|
# restart: always
|
||||||
|
# ports:
|
||||||
|
# - "80:5000"
|
||||||
|
# environment:
|
||||||
|
# Enable desired DeepStack APIs
|
||||||
|
# - VISION-FACE=True
|
||||||
|
# - VISION-DETECTION=True
|
||||||
|
# Set performance mode (High, Medium, Low)
|
||||||
|
# - MODE=High
|
||||||
|
# volumes:
|
||||||
|
# - deepstack_data:/datastore
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer_data:
|
||||||
|
# deepstack_data:
|
||||||
Reference in New Issue
Block a user