Skip to content

Instantly share code, notes, and snippets.

View yassineselmi's full-sized avatar

Yassine Selmi yassineselmi

  • Syntax Systems Inc.
  • Montreal QC , Canada
View GitHub Profile
version: '3.7'
services:
web:
image: django:latest
command: gunicorn hello_django.wsgi:application --bind 0.0.0.0:8000
volumes:
- static_volume:/home/app/web/staticfiles
- media_volume:/home/app/web/mediafiles
ports:
@yassineselmi
yassineselmi / swag-ha.conf
Last active February 12, 2024 06:30
SWAG Home assistant configuration
http {
upstream docker-homeassistant {
server homeassistant:8123;
}
upstream docker-nodered {
server homeassistant:1880;
}
upstream docker-mqtt {
@yassineselmi
yassineselmi / ha-docker-compose.yml
Last active December 19, 2020 06:58
Home Assistant + SWAG + NodeRED + Mosquitto
version: "3.8"
services:
proxy:
image: linuxserver/swag
container_name: proxy
restart: unless-stopped
depends_on:
- homeassistant
cap_add: