aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorDylan Bolger <dylan.bolger00@gmail.com>2024-04-28 00:31:28 -0500
committerDylan Bolger <dylan.bolger00@gmail.com>2024-04-28 00:31:28 -0500
commit75a4dc69f9f9912cc6efa7d45299dc6802355c8d (patch)
tree7e5201c7b930baac86fcc122b8dbd8f66941b96c /external
parenta0f9825517624dc1355b0e7b0d9610163205e46d (diff)
downloadpi-composition-master.tar.xz
pi-composition-master.zip
add compose filesHEADmaster
Diffstat (limited to 'external')
-rw-r--r--external/compose.yaml34
-rw-r--r--external/freshrss/compose.yaml30
-rw-r--r--external/homeassistant/compose.yaml11
-rw-r--r--external/personal-blog/compose.yaml15
-rw-r--r--external/personal-cgit/compose.yaml13
-rw-r--r--external/personal-website/compose.yaml11
-rw-r--r--external/umami/compose.yaml38
-rw-r--r--external/vaultwarden/compose.yaml11
8 files changed, 163 insertions, 0 deletions
diff --git a/external/compose.yaml b/external/compose.yaml
new file mode 100644
index 0000000..91eb626
--- /dev/null
+++ b/external/compose.yaml
@@ -0,0 +1,34 @@
+name: 'external'
+services:
+ homeassistant:
+ extends:
+ file: ./homeassistant/compose.yaml
+ service: homeassistant
+ freshrss:
+ extends:
+ file: ./freshrss/compose.yaml
+ service: freshrss
+ personal-blog:
+ extends:
+ file: ./personal-blog/compose.yaml
+ service: personal-blog
+ personal-cgit:
+ extends:
+ file: ./personal-cgit/compose.yaml
+ service: personal-cgit
+ personal-website:
+ extends:
+ file: ./personal-website/compose.yaml
+ service: personal-website
+ vaultwarden:
+ extends:
+ file: ./vaultwarden/compose.yaml
+ service: vaultwarden
+ umami:
+ extends:
+ file: ./umami/compose.yaml
+ service: umami
+ umami-db:
+ extends:
+ file: ./umami/compose.yaml
+ service: umami-db
diff --git a/external/freshrss/compose.yaml b/external/freshrss/compose.yaml
new file mode 100644
index 0000000..903b525
--- /dev/null
+++ b/external/freshrss/compose.yaml
@@ -0,0 +1,30 @@
+name: freshrss
+version: '3.8'
+services:
+ freshrss:
+ image: freshrss/freshrss
+ container_name: freshrss
+ restart: always
+ logging:
+ options:
+ max-size: 10m
+ volumes:
+ - "${FRESHRSS_DATA_PATH}:/var/www/FreshRSS/data"
+ - "${FRESHRSS_EXTENSIONS_PATH}:/var/www/FreshRSS/extensions"
+ ports:
+ - "${FRESHRSS_PORT}:80"
+ environment:
+ TZ: America/Chicago
+ CRON_MIN: 13,43
+ FRESHRSS_ENV: development
+ FRESHRSS_INSTALL: |-
+ --api_enabled
+ --base_url ${FRESHRSS_BASE_URL}
+ --default_user ${FRESHRSS_USER}
+ --language en
+ FRESHRSS_USER: |-
+ --api_password ${FRESHRSS_ADMIN_API_PASSWORD}
+ --email ${FRESHRSS_ADMIN_EMAIL}
+ --language en
+ --password ${FRESHRSS_ADMIN_PASSWORD}
+ --user ${FRESHRSS_USER}
diff --git a/external/homeassistant/compose.yaml b/external/homeassistant/compose.yaml
new file mode 100644
index 0000000..b95a7ae
--- /dev/null
+++ b/external/homeassistant/compose.yaml
@@ -0,0 +1,11 @@
+name: homeassistant
+services:
+ homeassistant:
+ container_name: homeassistant
+ image: "ghcr.io/home-assistant/home-assistant:stable"
+ volumes:
+ - "${HOMEASSISTANT_DATA_PATH}:/config"
+ - /etc/localtime:/etc/localtime:ro
+ restart: always
+ privileged: true
+ network_mode: host
diff --git a/external/personal-blog/compose.yaml b/external/personal-blog/compose.yaml
new file mode 100644
index 0000000..61b11eb
--- /dev/null
+++ b/external/personal-blog/compose.yaml
@@ -0,0 +1,15 @@
+name: personal-blog
+version: '3.8'
+services:
+ personal-blog:
+ hostname: blog
+ restart: always
+ container_name: personal-blog
+ image: personal-blog
+ build:
+ dockerfile: "${BLOG_DOCKERFILE_PATH}"
+ volumes:
+ - "${BLOG_STORAGE_PATH}:/app/storage"
+ - "${BLOG_CONTENT_PATH}:/app/content"
+ ports:
+ - "${BLOG_PORT}:80"
diff --git a/external/personal-cgit/compose.yaml b/external/personal-cgit/compose.yaml
new file mode 100644
index 0000000..347df51
--- /dev/null
+++ b/external/personal-cgit/compose.yaml
@@ -0,0 +1,13 @@
+name: personal-cgit
+version: '3.8'
+services:
+ personal-cgit:
+ image: cgit-pi
+ container_name: personal-cgit
+ hostname: cgit
+ volumes:
+ - "${CGIT_REPOS_PATH}:/srv/git/"
+ - "${CGIT_CGITRC_PATH}:/etc/cgitrc"
+ restart: always
+ ports:
+ - "${CGIT_PORT}:80"
diff --git a/external/personal-website/compose.yaml b/external/personal-website/compose.yaml
new file mode 100644
index 0000000..ed2e675
--- /dev/null
+++ b/external/personal-website/compose.yaml
@@ -0,0 +1,11 @@
+name: personal-website
+version: '3.8'
+services:
+ personal-website:
+ container_name: personal-website
+ image: nginx
+ volumes:
+ - "${WEBSITE_DATA_PATH}:/usr/share/nginx/html"
+ ports:
+ - "${WEBSITE_PORT}:80"
+ restart: always
diff --git a/external/umami/compose.yaml b/external/umami/compose.yaml
new file mode 100644
index 0000000..0672c19
--- /dev/null
+++ b/external/umami/compose.yaml
@@ -0,0 +1,38 @@
+version: '3'
+services:
+ umami:
+ container_name: umami
+ image: ghcr.io/umami-software/umami:postgresql-latest
+ ports:
+ - "${UMAMI_WEB_PORT}:3000"
+ environment:
+ IGNORE_IP: "${UMAMI_IGNORE_IP}"
+ DATABASE_URL: "${UMAMI_DB_URL}"
+ DATABASE_TYPE: "${UMAMI_DB_TYPE}"
+ APP_SECRET: "${UMAMI_APP_SECRET}"
+ #depends_on:
+ #db:
+ #condition: service_healthy
+ restart: always
+ #healthcheck:
+ #test: ["CMD-SHELL", "curl http://localhost:3001/api/heartbeat"]
+ #interval: 5s
+ #timeout: 5s
+ # retries: 5
+ umami-db:
+ container_name: 'umami-db'
+ image: postgres:15-alpine
+ environment:
+ POSTGRES_DB: umami
+ POSTGRES_USER: umami
+ POSTGRES_PASSWORD: umami
+ volumes:
+ - "${UMAMI_DB_DATA_PATH}:/var/lib/postgresql/data"
+ ports:
+ - "${UMAMI_DB_PORT}:5432"
+ restart: always
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
diff --git a/external/vaultwarden/compose.yaml b/external/vaultwarden/compose.yaml
new file mode 100644
index 0000000..3225964
--- /dev/null
+++ b/external/vaultwarden/compose.yaml
@@ -0,0 +1,11 @@
+name: vaultwarden
+version: '3.8'
+services:
+ vaultwarden:
+ image: vaultwarden/server:latest
+ container_name: vaultwarden
+ restart: always
+ volumes:
+ - "${VAULTWARDEN_DATA_PATH}:/data"
+ ports:
+ - "${VAULTWARDEN_PORT}:80"