Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleHomelab committed Jul 1, 2020
1 parent 3e98449 commit 9ff551c
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 39 deletions.
Empty file modified .env.example
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions authelia/users_database.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
# List of users
users:
USERNAME:
displayname: "John Doe"
password: "HASHED_PASSWORD"
email: USER_EMAIL
groups:
- admins
- dev
# EXAMPLE USER
# john:
# displayname: "John Doe"
# password: "$argon2id$v=19$m=1048576,p=john_strong_hashed_password"
# email: [email protected]
# groups:
Expand Down
38 changes: 38 additions & 0 deletions docker-compose-t2-obsolete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,41 @@ services:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ

# Home Assistant Core - Home Automation
# Added temporarily since HASS.io (Home Assistant Supervised) on Docker has been deprecated.
homeassistant:
container_name: hass-core
restart: unless-stopped
image: homeassistant/home-assistant:0.111.0
networks:
- t2_proxy
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyACM0:/dev/ttyACM0
ports:
- target: 8123
published: $HOMEASSISTANT_PORT
protocol: tcp
mode: host
privileged: true
volumes:
- ${USERDIR}/docker/hassio/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/shared:/shared
- ${USERDIR}/docker/open-zwave:/open-zwave
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.homeassistant-rtr.entrypoints=https"
- "traefik.http.routers.homeassistant-rtr.rule=Host(`hassio.$DOMAINNAME`)"
## Middlewares
- "traefik.http.routers.homeassistant-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.homeassistant-rtr.service=homeassistant-svc"
- "traefik.http.services.homeassistant-svc.loadbalancer.server.port=8123"
41 changes: 2 additions & 39 deletions docker-compose-t2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ services:
container_name: authelia
# Check this before upgrading: https://github.com/authelia/authelia/blob/master/BREAKING.md
# image: authelia/authelia:latest
image: authelia/authelia:4.20
image: authelia/authelia:4.21.0
restart: always
networks:
- t2_proxy
Expand Down Expand Up @@ -296,44 +296,6 @@ services:

############################# SMART HOME

# Home Assistant Core - Home Automation
# Added temporarily since HASS.io (Home Assistant Supervised) on Docker has been deprecated.
homeassistant:
container_name: hass-core
restart: unless-stopped
image: homeassistant/home-assistant:0.111.0
networks:
- t2_proxy
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyACM0:/dev/ttyACM0
ports:
- target: 8123
published: $HOMEASSISTANT_PORT
protocol: tcp
mode: host
privileged: true
volumes:
- ${USERDIR}/docker/hassio/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/shared:/shared
- ${USERDIR}/docker/open-zwave:/open-zwave
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.homeassistant-rtr.entrypoints=https"
- "traefik.http.routers.homeassistant-rtr.rule=Host(`hassio.$DOMAINNAME`)"
## Middlewares
- "traefik.http.routers.homeassistant-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.homeassistant-rtr.service=homeassistant-svc"
- "traefik.http.services.homeassistant-svc.loadbalancer.server.port=8123"

# HA-Dockermon - Manage Docker containers in Home Assistant
ha-dockermon:
image: philhawthorne/ha-dockermon:latest
Expand Down Expand Up @@ -1846,3 +1808,4 @@ services:
- "traefik.http.routers.cf-companion-rtr.rule=Host(`shell.$DOMAINNAME`)"
- "traefik.http.routers.cf-companion-rtr.rule=Host(`syno.$DOMAINNAME`)"
- "traefik.http.routers.cf-companion-rtr.rule=Host(`ufi.$DOMAINNAME`)"
- "traefik.http.routers.cf-companion-rtr.rule=Host(`webmin.$DOMAINNAME`)"

0 comments on commit 9ff551c

Please sign in to comment.