Relative Content

Tag Archive for docker

Route a subdomain thru nginx to docker

Set proxy for a docker service thru subdomain. Subdomain: your.domain.com Docker Port: 9999 Edit docker-compose for an app you would like to proxy to. Add 127.0.0.1:9999, mapping it to a port in docker (here it’s 3000)

Restart

Create nginx config, replacing 9999 and your.domain.com to docker port and subdomain of your choice.

[…]

Windrose dedicated server on Linux using Docker

Clone windrose-dedicated-server-docker

Setup server It will ask you several questions, after which .env  file will be created with your configuration.

Run server If you have not chosen it in the previous step.

Status and logs

 

Mosquitto [MQTT] on Docker for HomeAssistant

Mosquitto Setup

docker-compose.yml

mosquitto/config/mosquitto.conf

Run docker compose up -d Add HomeAssistant Integration Add Integration > MQTT host: localhost  

TextToSpeech for HomeAssistant [docker] using local soundcard

Install Music Player Daemon [MPD] on your host. It will open a port for HA to connect to: sudo apt install mpd Check card and device number: sudo apt install alsa-utils aplay -l For example: card 1: Generic [HD-Audio Generic], device 0: ALC255 Analog [ALC255 Analog] gives us card 1 and device 0. Update config […]

Copyparty Docker quick setup

Create directory and enter it. /home/USER/Copyparty Create docker-compose.yml, change /cfg and /w (share) path in volumes section.

Create data directory /home/USER/Copyparty/data In data directory, create some_config.conf, change [accounts] section

Update/run script update.sh

Run the script and check if the site works by navigating to: http://IP_OR_DOMAIN:3923