chore: added mariadb settings
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
|||||||
.env.production
|
.env.mariadb
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# General settings
|
# General settings
|
||||||
INTERNAL_IP: localhost
|
INTERNAL_IP: localhost
|
||||||
|
|
||||||
# Db settings
|
# Db-Specific settings
|
||||||
|
# Should be overridden with a .env.mariadb file.
|
||||||
MARIADB_ROOT_PASSWORD=test
|
MARIADB_ROOT_PASSWORD=test
|
||||||
|
MARIADB_USER=homeassistant
|
||||||
|
MARIADB_PASSWORD=homeassistant
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- ${INTERNAL_IP}:3306:3306
|
- ${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:
|
homeassistant:
|
||||||
image: "ghcr.io/home-assistant/home-assistant:stable"
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
ports:
|
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
|
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Start docker-compose
|
||||||
|
|
||||||
|
TODO add .sh script to start in production
|
||||||
|
|
||||||
|
|
||||||
## To Do
|
## To Do
|
||||||
|
|
||||||
- Start the VPN client automatically after reboot
|
- Start the VPN client automatically after reboot
|
||||||
|
|||||||
Reference in New Issue
Block a user