chore: added mariadb to docker compose
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -0,0 +1 @@
|
|||||||
|
.env.production
|
||||||
|
|||||||
7
home-server/.env
Normal file
7
home-server/.env
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# General settings
|
||||||
|
INTERNAL_IP: localhost
|
||||||
|
|
||||||
|
# Db settings
|
||||||
|
MARIADB_ROOT_PASSWORD=test
|
||||||
|
|
||||||
|
|
||||||
@@ -1,9 +1,14 @@
|
|||||||
version: "3.9"
|
version: "3.9"
|
||||||
services:
|
services:
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${INTERNAL_IP}:3306:3306
|
||||||
homeassistant:
|
homeassistant:
|
||||||
image: "ghcr.io/home-assistant/home-assistant:stable"
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
ports:
|
ports:
|
||||||
- 10.55.8.3:8123:8123
|
- ${INTERNAL_IP}:8123:8123
|
||||||
volumes:
|
volumes:
|
||||||
- /home/willem/homeassistant:/config
|
- /home/willem/homeassistant:/config
|
||||||
- /home/willem/repos/homeAutomation/configurations/home-assistant/configuration.yaml:/config/configuration.yaml
|
- /home/willem/repos/homeAutomation/configurations/home-assistant/configuration.yaml:/config/configuration.yaml
|
||||||
@@ -18,8 +23,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /home/willem/syncthing:/data1
|
- /home/willem/syncthing:/data1
|
||||||
ports:
|
ports:
|
||||||
- 10.55.8.3:8384:8384
|
- ${INTERNAL_IP}:8384:8384
|
||||||
- 10.55.8.3:22000:22000/tcp
|
- ${INTERNAL_IP}:22000:22000/tcp
|
||||||
- 10.55.8.3:22000:22000/udp
|
- ${INTERNAL_IP}:22000:22000/udp
|
||||||
- 10.55.8.3:21027:21027/udp
|
- ${INTERNAL_IP}:21027:21027/udp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user