Skip to content

Instantly share code, notes, and snippets.

@tg44
Created May 30, 2019 17:26
Show Gist options
  • Save tg44/c2817c767fdf8f348157797615825baa to your computer and use it in GitHub Desktop.
Save tg44/c2817c767fdf8f348157797615825baa to your computer and use it in GitHub Desktop.
home-server config files
version: '3.1'
services:
minidlna:
container_name: miniDLNA
restart: unless-stopped
network_mode: host
image: vladgh/minidlna
volumes:
- /hdd/torrent:/media
environment:
- MINIDLNA_MEDIA_DIR=/media
- MINIDLNA_FRIENDLY_NAME=csigusz
deluge:
image: linuxserver/deluge
container_name: deluge
network_mode: host
environment:
- PUID=1000
- PGID=1000
volumes:
- /hdd/docker/deluge/config:/config
- /hdd/torrent:/downloads
restart: unless-stopped
version: '3.1'
services:
mqtt:
container_name: MQTT
restart: unless-stopped
image: eclipse-mosquitto
privileged: true
volumes:
- /hdd/docker/mosquitto/config:/mosquitto/config
- /hdd/docker/mosquitto/data:/mosquitto/data
ports:
- "1883:1883"
- "9001:9001"
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant
volumes:
- /hdd/docker/hassio/config:/config
restart: unless-stopped
ports:
- "8123:8123"
tasmoadmin:
container_name: tasmoadmin
image: raymondmm/tasmoadmin
volumes:
- /hdd/docker/hassio/tasmoadmin/data:/data
ports:
- "9002:80"
file-compose=docker-compose -f file-server.compose.yml -p file-server
hassio-compose=docker-compose -f hassio.compose.yml -p hassio-server
default: help
fup: ## Spin up services
$(file-compose) up -d
fstop: ## Stop services
$(file-compose) stop
fdown: ## Destroy all services and volumes
$(file-compose) down -v
hup: ## Spin up services
$(hassio-compose) up -d
hstop: ## Stop services
$(hassio-compose) stop
hdown: ## Destroy all services and volumes
$(hassio-compose) down -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment