From 8d23a6f576c2d06d828ef86d15e22e66077e8d1b Mon Sep 17 00:00:00 2001 From: Bendt Date: Sun, 4 Jan 2026 16:01:06 -0500 Subject: [PATCH] copy in from dokploy --- bew-cloud.yml | 50 ++++++++++++++++++++++++++++++++++ gitea-compose.yml | 26 ++++++++++++++++++ immich-stack.yml | 56 ++++++++++++++++++++++++++++++++++++++ memos-compose.yml | 15 ++++++++++ registry-compose.yml | 19 +++++++++++++ silverbullet-compose.yml | 21 ++++++++++++++ technitium-dns-compose.yml | 26 ++++++++++++++++++ 7 files changed, 213 insertions(+) create mode 100644 bew-cloud.yml create mode 100644 gitea-compose.yml create mode 100644 immich-stack.yml create mode 100644 memos-compose.yml create mode 100644 registry-compose.yml create mode 100644 silverbullet-compose.yml create mode 100644 technitium-dns-compose.yml diff --git a/bew-cloud.yml b/bew-cloud.yml new file mode 100644 index 0000000..288626f --- /dev/null +++ b/bew-cloud.yml @@ -0,0 +1,50 @@ +services: + website: + image: ghcr.io/bewcloud/bewcloud:v3.0.2 + networks: + - dokploy-network + ports: + - 8000 + env_file: + - path: ../files/.env + required: true + mem_limit: '256m' + volumes: + - data-files:/app/data-files + - ../files/bewcloud.config.ts:/app/bewcloud.config.ts + init-perms: + image: ghcr.io/bewcloud/bewcloud:v3.0.2 + user: "0" + command: ["sh","-lc","chown -R 1993:1993 /app/data-files"] + volumes: + - data-files:/app/data-files + radicale: + image: tomsquest/docker-radicale:3.5.9.0 + networks: + - dokploy-network + ports: + - 5232 + init: true + read_only: true + security_opt: + - no-new-privileges:true + cap_drop: + - ALL + cap_add: + - SETUID + - SETGID + - CHOWN + - KILL + deploy: + resources: + limits: + memory: 256M + pids: 50 + environment: + - TAKE_FILE_OWNERSHIP=false + volumes: + - data-radicale:/data + - ../files/radicale-config:/etc/radicale/config +volumes: + data-files: + data-radicale: diff --git a/gitea-compose.yml b/gitea-compose.yml new file mode 100644 index 0000000..dbf8955 --- /dev/null +++ b/gitea-compose.yml @@ -0,0 +1,26 @@ +version: "3.8" + +services: + gitea: + image: docker.gitea.com/gitea:1.24.4 + restart: unless-stopped + environment: + - USER_UID=1000 + - USER_GID=1000 + # SQLite (default) lives at /data/gitea + # Example optional overrides (set in template.toml env or UI): + # - GITEA__mailer__ENABLED=true + volumes: + - gitea-data:/data + expose: + - "3000" # Web UI + ports: + - "2222:22" # Map host port 2222 to container port 22 + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/"] + interval: 15s + timeout: 5s + retries: 10 + +volumes: + gitea-data: {} diff --git a/immich-stack.yml b/immich-stack.yml new file mode 100644 index 0000000..e4a8d96 --- /dev/null +++ b/immich-stack.yml @@ -0,0 +1,56 @@ +services: + immich-database: + image: tensorchord/pgvecto-rs:pg14-v0.2.0 + environment: + POSTGRES_DB: immich + POSTGRES_PASSWORD: wuwwxyxg49s0zdvl + POSTGRES_USER: immich + volumes: + - immich-postgres:/var/lib/postgresql/data + deploy: + restart_policy: + condition: on-failure + immich-machine-learning: + image: ghcr.io/immich-app/immich-machine-learning:v1.106.4 + volumes: + - immich-model-cache:/cache + deploy: + restart_policy: + condition: on-failure + immich-redis: + image: redis:6.2-alpine + volumes: + - immich-redis-data:/data + deploy: + restart_policy: + condition: on-failure + immich-server: + image: ghcr.io/immich-app/immich-server:v2.3.0 + environment: + DB_DATABASE_NAME: immich + DB_HOSTNAME: immich-database + DB_PASSWORD: wuwwxyxg49s0zdvl + DB_PORT: '5432' + DB_USERNAME: immich + FRONT_BASE_URL: https://immich.bendtstudio.com + REDIS_DBINDEX: '0' + REDIS_HOSTNAME: immich-redis + REDIS_PORT: '6379' + SERVER_URL: https://immich.bendtstudio.com + volumes: + - /mnt/synology-data/immich:/usr/src/app/upload + - /mnt/photos:/var/photos + - /etc/localtime:/etc/localtime:ro + deploy: + restart_policy: + condition: on-failure + placement: + constraints: + - node.labels.type == nas + +volumes: + immich-redis-data: + immich-postgres: + immich-model-cache: + + diff --git a/memos-compose.yml b/memos-compose.yml new file mode 100644 index 0000000..e660076 --- /dev/null +++ b/memos-compose.yml @@ -0,0 +1,15 @@ +version: "3.8" + +services: + memos: + image: neosmemo/memos:stable + restart: unless-stopped + volumes: + - memos_data:/var/opt/memos + environment: + - MEMOS_MODE=${MEMOS_MODE} + - MEMOS_PORT=${MEMOS_PORT} + ports: + - "5230" +volumes: + memos_data: diff --git a/registry-compose.yml b/registry-compose.yml new file mode 100644 index 0000000..e39c9ca --- /dev/null +++ b/registry-compose.yml @@ -0,0 +1,19 @@ +services: + registry: + restart: always + image: registry:2 + ports: + - 5000 + volumes: + - ../files/auth/registry.password:/auth/registry.password + - registry-data:/var/lib/registry + environment: + REGISTRY_STORAGE_DELETE_ENABLED: true + REGISTRY_HEALTH_STORAGEDRIVER_ENABLED: false + REGISTRY_HTTP_SECRET: ${REGISTRY_HTTP_SECRET} + REGISTRY_AUTH: htpasswd + REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm + REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password + +volumes: + registry-data: diff --git a/silverbullet-compose.yml b/silverbullet-compose.yml new file mode 100644 index 0000000..aa92d28 --- /dev/null +++ b/silverbullet-compose.yml @@ -0,0 +1,21 @@ +version: "3.8" + +services: + silverbullet: + image: ghcr.io/silverbulletmd/silverbullet:v2 + restart: unless-stopped + environment: + - SB_USER=${SB_USER} + volumes: + - silverbullet-space:/space + expose: + - 3000 + + watchtower: + image: containrrr/watchtower + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock + +volumes: + silverbullet-space: {} diff --git a/technitium-dns-compose.yml b/technitium-dns-compose.yml new file mode 100644 index 0000000..5e95963 --- /dev/null +++ b/technitium-dns-compose.yml @@ -0,0 +1,26 @@ +version: "3.9" +services: + technitium-dns: + image: technitium/dns-server:latest + container_name: technitium-dns + restart: unless-stopped + ports: + - "53:53/tcp" + - "53:53/udp" + - "5380:5380/tcp" # Web UI + volumes: + - "config-dns:/etc/dns" + environment: + DNS_SERVER_DOMAIN: "dns.bendtstudio.com" + DNS_SERVER_ADMIN_PASSWORD: "bRQ#@DpijNcs6LxT" + TZ: "America/New_York" + deploy: + mode: replicated + replicas: 1 + placement: + constraints: + - node.hostname = tpi-n1 + restart_policy: + condition: any +volumes: + config-dns: