Created
May 30, 2019 17:26
-
-
Save tg44/c2817c767fdf8f348157797615825baa to your computer and use it in GitHub Desktop.
home-server config files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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