From 7bbfdece6f138a2ed05ef8d27e797a43ed4f85a0 Mon Sep 17 00:00:00 2001 From: andrewso Date: Sun, 23 Feb 2025 22:38:38 +0000 Subject: [PATCH] [23-02-25] more mds, docker-compose files for actual, gitea and tandoor --- cloudflareTunnel.md => Cloudflare Tunnel.md | 0 OMV Docker Compose.md | 1 + User Setups.md | 0 actual/README.md | 27 +++++++++++++++++++ actual/docker-compose.yml | 29 +++++++++++++++++++++ gitea/docker-compose.yml | 21 +++++++++++++++ immich/README.md | 6 +++-- tandoor/docker-compose.yml | 27 +++++++++++++++++++ 8 files changed, 109 insertions(+), 2 deletions(-) rename cloudflareTunnel.md => Cloudflare Tunnel.md (100%) create mode 100644 OMV Docker Compose.md create mode 100644 User Setups.md create mode 100644 actual/README.md create mode 100644 actual/docker-compose.yml create mode 100644 gitea/docker-compose.yml create mode 100644 tandoor/docker-compose.yml diff --git a/cloudflareTunnel.md b/Cloudflare Tunnel.md similarity index 100% rename from cloudflareTunnel.md rename to Cloudflare Tunnel.md diff --git a/OMV Docker Compose.md b/OMV Docker Compose.md new file mode 100644 index 0000000..39207ba --- /dev/null +++ b/OMV Docker Compose.md @@ -0,0 +1 @@ +# OMV Docker Compose plugin setup \ No newline at end of file diff --git a/User Setups.md b/User Setups.md new file mode 100644 index 0000000..e69de29 diff --git a/actual/README.md b/actual/README.md new file mode 100644 index 0000000..bdfb72d --- /dev/null +++ b/actual/README.md @@ -0,0 +1,27 @@ +# Actual Budget creation and running + +Actual budget can be ran from within openmediavault using the docker service + +## Pre-requirements + +- omv-extras +- omv-compose +- docker config set up + +## Running + +Navigate to Services -> Files, click plus icon and Add. +Give the compose file a name and paste the docker-compose.yml content into the File box, and Save +Select the Actual Budget file and select UP, this will start the docker container for Actual + +To view the logs of the container, click the Cog icon - Logs/Follow Logs + +Once loaded, actual will be available from `http://192.168.1.xxx:5006` + +## Common issues + +On accessing Actual for the first time you may encounter this error: +``` +actual requires access to sharedarraybuffer in order to function properly +``` +Click on Advanced Options and 'Accept Risk' or set up HTTPS https://actualbudget.org/docs/config/https \ No newline at end of file diff --git a/actual/docker-compose.yml b/actual/docker-compose.yml new file mode 100644 index 0000000..b7aade2 --- /dev/null +++ b/actual/docker-compose.yml @@ -0,0 +1,29 @@ +services: + actual_server: + image: docker.io/actualbudget/actual-server:24.11.0 + ports: + # This line makes Actual available at port 5006 of the device you run the server on, + # i.e. http://localhost:5006. You can change the first number to change the port, if you want. + - '5006:5006' + environment: + # Uncomment any of the lines below to set configuration options. + # - ACTUAL_HTTPS_KEY=/data/selfhost.key + # - ACTUAL_HTTPS_CERT=/data/selfhost.crt + - ACTUAL_PORT=5006 + # - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=20 + # - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50 + # - ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=20 + # See all options and more details at https://actualbudget.github.io/docs/Installing/Configuration + # !! If you are not using any of these options, remove the 'environment:' tag entirely. + volumes: + # Change './actual-data' below to the path to the folder you want Actual to store its data in on your server. + # '/data' is the path Actual will look for its files in by default, so leave that as-is. + - ./actual-data:/data + healthcheck: + # Enable health check for the instance + test: ['CMD-SHELL', 'node src/scripts/health-check.js'] + interval: 60s + timeout: 10s + retries: 3 + start_period: 20s + restart: unless-stopped \ No newline at end of file diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml new file mode 100644 index 0000000..0dd07c2 --- /dev/null +++ b/gitea/docker-compose.yml @@ -0,0 +1,21 @@ +networks: + immich_default: + external: true + +services: + server: + image: docker.io/gitea/gitea:1.23.4 + container_name: gitea + environment: + - USER_UID=1002 + - USER_GID=100 + restart: always + networks: + - immich_default + volumes: + - /srv/dev-disk-by-uuid-01803dad-cf8d-4540-9abe-ccf26592c371/cathulu/git/data:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "222:22" \ No newline at end of file diff --git a/immich/README.md b/immich/README.md index 7fc4a9f..f26ca0a 100644 --- a/immich/README.md +++ b/immich/README.md @@ -1,4 +1,4 @@ -# Immich Docker file config +# Immich creation and running Make sure you are under the immich directory. If not `cd` to it or create it `mkdir immich` @@ -11,4 +11,6 @@ Once loaded, immich will be available from `http://192.168.1.xxx:2283`. If you h ``` docker logs [CONTAINER NAME OR ID] -``` \ No newline at end of file +``` + +## Common issues \ No newline at end of file diff --git a/tandoor/docker-compose.yml b/tandoor/docker-compose.yml new file mode 100644 index 0000000..54704c3 --- /dev/null +++ b/tandoor/docker-compose.yml @@ -0,0 +1,27 @@ +services: + recipes: + image: vabene1111/recipes + container_name: tandoor + restart: always + networks: + - immich_default + environment: + SECRET_KEY: jHsh6XVHJzaIUYDGsLhKsCr0dVtnLO8qcosmk/ck23ZfuAZ6FG + DB_ENGINE: django.db.backends.postgresql + POSTGRES_HOST: immich_postgres + POSTGRES_PORT: 5432 + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: tandoor + ports: + - "8080:8080" + volumes: + - ./tandoor/staticfiles:/opt/recipes/staticfiles + - ./tandoor/mediafiles:/opt/recipes/mediafiles + +volumes: + db_data: + +networks: + immich_default: + external: true \ No newline at end of file