chore: added mariadb settings

This commit is contained in:
2022-11-20 20:34:54 +01:00
parent aaa8c47882
commit fc7fbd18d4
4 changed files with 15 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
# General settings
INTERNAL_IP: localhost
# Db settings
# Db-Specific settings
# Should be overridden with a .env.mariadb file.
MARIADB_ROOT_PASSWORD=test
MARIADB_USER=homeassistant
MARIADB_PASSWORD=homeassistant

View File

@@ -5,6 +5,11 @@ services:
restart: unless-stopped
ports:
- ${INTERNAL_IP}:3306:3306
env_file:
# Override the mariadb-specific settings in a .env.mariadb file.
# You should create the .env.mariadb file yourself.
- .env
- .env.mariadb
homeassistant:
image: "ghcr.io/home-assistant/home-assistant:stable"
ports:

View File

@@ -18,6 +18,11 @@ NOTE: on ubuntu, you need to add a symbolic link in order to enable the VPN ([so
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
```
## Start docker-compose
TODO add .sh script to start in production
## To Do
- Start the VPN client automatically after reboot