Added docker-compose home
This commit is contained in:
19
docker-compose-home.yml
Normal file
19
docker-compose-home.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
syncthing-home:
|
||||||
|
image: syncthing/syncthing
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/London
|
||||||
|
volumes:
|
||||||
|
- ${STORAGE_DIR}/syncthing:/var/syncthing
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- environment-variables/local.env
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:8384:8384
|
||||||
|
healthcheck:
|
||||||
|
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
||||||
|
interval: 1m
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
@@ -41,7 +41,7 @@ services:
|
|||||||
- ${STORAGE_DIR}/mariadb:/var/lib/mysql
|
- ${STORAGE_DIR}/mariadb:/var/lib/mysql
|
||||||
homeassistant:
|
homeassistant:
|
||||||
build:
|
build:
|
||||||
context: ./home-assistant
|
context: ./dockerfiles
|
||||||
dockerfile: home-assistant.Dockerfile
|
dockerfile: home-assistant.Dockerfile
|
||||||
labels:
|
labels:
|
||||||
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.pladijs`)
|
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.pladijs`)
|
||||||
@@ -63,15 +63,6 @@ services:
|
|||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
volumes:
|
volumes:
|
||||||
- ${STORAGE_DIR}/syncthing:/var/syncthing
|
- ${STORAGE_DIR}/syncthing:/var/syncthing
|
||||||
restart: unless-stopped
|
|
||||||
env_file:
|
|
||||||
- environment-variables/local.env
|
|
||||||
- environment-variables/production.env
|
|
||||||
healthcheck:
|
|
||||||
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
|
||||||
interval: 1m
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
node-exporter:
|
node-exporter:
|
||||||
image: prom/node-exporter:latest
|
image: prom/node-exporter:latest
|
||||||
container_name: node-exporter
|
container_name: node-exporter
|
||||||
|
|||||||
Reference in New Issue
Block a user