chore: added mariadb settings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user