Back to swarm mode

This commit is contained in:
Neale Pickett 2023-01-28 16:34:47 -07:00
parent be6fcf0c54
commit 27886e6110
8 changed files with 39 additions and 11 deletions

View File

@ -30,6 +30,10 @@ drive.woozle.org {
}
}
media.woozle.org {
reverse_proxy jellyfin:8096
}
# XXX: have this use caddy auth
ancestry.woozle.org {
reverse_proxy geneweb:2317
@ -79,7 +83,7 @@ ancestry.woozle.org {
handle_path /sucker/* {
import restricted-access
reverse_proxy host.docker.internal:5880
reverse_proxy sucker:8080
}
handle_path /octoprint/* {

View File

@ -8,3 +8,4 @@ caddy_hash () {
stack=$(basename $(pwd))
docker --context deergrove stack deploy -c docker-compose.yaml --prune $stack
#docker --context deergrove compose up --detach

View File

@ -32,6 +32,8 @@ services:
target: /www/index.html
- source: index.mjs
target: /www/index.mjs
- source: deergrove.png
target: /www/deergrove.png
- source: index.css
target: /www/index.css
- source: browser.html
@ -63,8 +65,6 @@ services:
source: /srv
target: /srv
read_only: true
bind:
propagation: rslave
transmission:
image: lscr.io/linuxserver/transmission
@ -138,7 +138,7 @@ services:
source: /srv/incoming
target: /srv/incoming
prowlarr:
image: lscr.io/linuxserver/prowlarr:develop
image: lscr.io/linuxserver/prowlarr:latest
extra_hosts:
- host.docker.internal:host-gateway
volumes:
@ -245,6 +245,8 @@ services:
target: /updater/data
tunnel:
deploy:
replicas: 0
image: lscr.io/linuxserver/openssh-server
user: abc
entrypoint:
@ -278,10 +280,10 @@ configs:
name: Corefile-v2
Caddyfile:
file: Caddyfile
name: Caddyfile-v81
name: Caddyfile-v86
index.html:
file: www/index.html
name: index.html-v35
name: index.html-v36
index.mjs:
file: www/index.mjs
name: index.mjs-v1
@ -291,6 +293,9 @@ configs:
browser.html:
file: www/browser.html
name: browser.html-v3
deergrove.png:
file: www/deergrove.png
name: deergrove.png-v1
secrets:
passwd:
@ -313,3 +318,5 @@ networks:
hostnet:
external: true
name: host

View File

@ -1,7 +1,7 @@
version: "3.8"
services:
jellyfin:
image: ghcr.io/linuxserver/jellyfin:10.7.7
image: ghcr.io/linuxserver/jellyfin:latest
ports:
- target: 8096
published: 8096

BIN
homelab/www/deergrove.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -4,7 +4,7 @@
<title>Deer Grove</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="icons/deergrove.png">
<link rel="icon" href="deergrove.png">
<link rel="stylesheet" href="index.css">
<script src="index.mjs" type="module"></script>
</head>

View File

@ -17,6 +17,11 @@ deergrove.woozle.org, git.woozle.org, ancestry.woozle.org, drive.woozle.org {
reverse_proxy host.docker.internal:5880
}
passwords.woozle.org {
reverse_proxy /notifications/hub vaultwarden:3012
reverse_proxy vaultwarden:80
}
www.woozle.org, woozle.org {
root * /srv/www/woozle.org
file_server

View File

@ -23,6 +23,17 @@ services:
- source: Caddyfile
target: /etc/caddy/Caddyfile
vaultwarden:
image: vaultwarden/server:latest
environment:
DOMAIN: https://passwords.woozle.org
SIGNUPS_ALLOWED: "false"
volumes:
- type: bind
source: /srv/vaultwarden
target: /data
wallart:
image: git.woozle.org/neale/wallart-server
volumes:
@ -36,5 +47,5 @@ services:
configs:
Caddyfile:
file: Caddyfile
name: Caddyfile-v9
name: Caddyfile-v11