stacks/homelab/docker-compose.yaml

300 lines
6.5 KiB
YAML
Raw Normal View History

2021-12-17 09:38:07 -07:00
version: "3.8"
services:
coredns:
image: coredns/coredns
networks:
- hostnet
configs:
- source: Corefile
target: /Corefile
2022-11-10 21:22:15 -07:00
2022-09-04 08:37:29 -06:00
caddy:
image: caddy:2-alpine
2021-12-17 09:38:07 -07:00
ports:
- target: 443
published: 443
mode: host
- target: 80
published: 80
mode: host
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv
target: /srv
2021-12-17 09:38:07 -07:00
read_only: true
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/caddy
2022-09-04 08:37:29 -06:00
target: /data/caddy
configs:
- source: Caddyfile
target: /etc/caddy/Caddyfile
2022-11-04 15:47:21 -06:00
- source: index.html
target: /www/index.html
- source: index.mjs
target: /www/index.mjs
- source: index.css
target: /www/index.css
2022-09-04 08:37:29 -06:00
extra_hosts:
- host.docker.internal:host-gateway
2022-09-07 21:47:37 -06:00
simpleauth:
2022-11-12 17:08:10 -07:00
image: git.woozle.org/neale/simpleauth
2022-09-10 17:32:15 -06:00
command:
- -secret
- /run/secrets/simpleauth.key
2022-09-07 21:47:37 -06:00
secrets:
- passwd
2022-09-10 17:32:15 -06:00
- simpleauth.key
2022-09-07 21:47:37 -06:00
2021-12-17 09:38:07 -07:00
plex:
image: ghcr.io/linuxserver/plex:1.29.2
2021-12-17 09:38:07 -07:00
networks:
- hostnet
environment:
TZ: US/Mountain
2022-08-02 20:57:44 -06:00
VERSION: public
2021-12-17 09:38:07 -07:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/plex
2021-12-17 09:38:07 -07:00
target: /config
- type: bind
2022-01-02 16:43:23 -07:00
source: /srv
target: /srv
read_only: true
2021-12-17 09:38:07 -07:00
bind:
propagation: rslave
2022-10-12 17:45:23 -06:00
sonarr:
image: lscr.io/linuxserver/sonarr
2022-11-12 17:08:10 -07:00
extra_hosts:
- host.docker.internal:host-gateway
2022-10-12 17:45:23 -06:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/sonarr
2022-10-12 17:45:23 -06:00
target: /config
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/media/tv
target: /srv/media/tv
2022-10-12 17:45:23 -06:00
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/incoming
target: /srv/incoming
2022-10-12 22:05:20 -06:00
radarr:
image: lscr.io/linuxserver/radarr
2022-11-12 17:08:10 -07:00
extra_hosts:
- host.docker.internal:host-gateway
2022-10-12 22:05:20 -06:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/radarr
2022-10-12 22:05:20 -06:00
target: /config
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/media/movies
target: /srv/media/movies
2022-10-12 22:05:20 -06:00
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/incoming
target: /srv/incoming
2022-10-13 14:38:46 -06:00
lidarr:
image: lscr.io/linuxserver/lidarr
2022-11-12 17:08:10 -07:00
extra_hosts:
- host.docker.internal:host-gateway
2022-10-13 14:38:46 -06:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/lidarr
2022-10-13 14:38:46 -06:00
target: /config
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/media/music
target: /srv/media/music
2022-10-13 14:38:46 -06:00
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/incoming
target: /srv/incoming
2022-10-12 22:05:20 -06:00
readarr:
image: lscr.io/linuxserver/readarr:develop
2022-11-12 17:08:10 -07:00
extra_hosts:
- host.docker.internal:host-gateway
2022-10-12 22:05:20 -06:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/readarr
2022-10-12 22:05:20 -06:00
target: /config
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/media/books
target: /srv/media/books
- type: bind
source: /srv/media/audiobooks
target: /srv/media/audiobooks
2022-10-12 22:05:20 -06:00
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/incoming
target: /srv/incoming
2022-10-13 10:22:51 -06:00
prowlarr:
image: lscr.io/linuxserver/prowlarr:develop
2022-11-12 17:08:10 -07:00
extra_hosts:
- host.docker.internal:host-gateway
2022-10-12 17:45:23 -06:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/prowlarr
2022-10-12 17:45:23 -06:00
target: /config
nzbget:
image: lscr.io/linuxserver/nzbget
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/nzbget
2022-10-12 17:45:23 -06:00
target: /config
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/incoming
target: /srv/incoming
2022-10-12 17:45:23 -06:00
gitea:
image: gitea/gitea:1
environment:
USER_UID: 1000
USER_GID: 1000
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/gitea
target: /data
- type: bind
source: /etc/timezone
target: /etc/timezone
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
2022-09-25 17:54:54 -06:00
wallart:
2022-10-12 17:45:23 -06:00
image: git.woozle.org/neale/wallart-server
2022-09-25 17:54:54 -06:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/wallart
2022-09-25 17:54:54 -06:00
target: /cache
2021-12-26 12:02:07 -07:00
atlas:
2021-12-26 20:40:04 -07:00
image: ctassisf/ripe-atlas-alpine:arm64v8
2021-12-26 12:02:07 -07:00
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/atlas/etc
2021-12-26 12:02:07 -07:00
target: /var/atlas-probe/etc
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/atlas/status
2021-12-26 12:02:07 -07:00
target: /var/atlas-probe/status
2022-03-05 20:27:07 -07:00
geneweb:
image: ravermeister/geneweb
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/geneweb/etc
2022-03-05 20:27:07 -07:00
target: /usr/local/share/geneweb/etc
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/geneweb/share/data
2022-03-05 20:27:07 -07:00
target: /usr/local/share/geneweb/share/data
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv/sys/geneweb/log
2022-03-05 20:27:07 -07:00
target: /usr/local/share/geneweb/log
2022-02-27 10:32:35 -07:00
samba:
image: dperson/samba
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv
target: /srv
bind:
propagation: rslave
2022-02-27 10:32:35 -07:00
environment:
NMBD: enable
RECYCLE: disable
USERID: 911
GROUPID: 911
2022-02-27 10:32:35 -07:00
# name;path;browse;readonly;guest
2022-10-30 18:20:32 -06:00
SHARE1: drive;/srv;yes;no;no
SHARE2: retropie;/srv/media/games/retropie;yes;yes;yes
2022-02-27 10:32:35 -07:00
env_file:
2022-09-04 08:37:29 -06:00
- secrets/samba-users.env
2022-02-27 10:32:35 -07:00
ports:
- published: 139
target: 139
- published: 445
target: 445
2022-08-13 08:59:35 -06:00
webdav:
image: micromata/dave
volumes:
- type: bind
2022-10-30 18:20:32 -06:00
source: /srv
2022-08-13 08:59:35 -06:00
target: /data
configs:
- source: dave.yaml
target: /config/config.yaml
user: "911:911"
2022-02-27 10:32:35 -07:00
ddns:
image: qmcgaw/ddns-updater
networks:
- hostnet
volumes:
- type: bind
source: /srv/sys/ddns-updater
target: /updater/data
tunnel:
image: lscr.io/linuxserver/openssh-server
user: abc
entrypoint:
- /usr/bin/ssh
- -N
- -R 172.17.0.1:5880:caddy:80 # 172.17.0.1 = docker host IP
- -R :5822:host.docker.internal:22
- -o ServerAliveInterval=30
- core@melville.woozle.org
extra_hosts:
- host.docker.internal:host-gateway
secrets:
- source: tunnel
target: /config/.ssh/id_rsa
uid: "911"
gid: "911"
mode: 0600
- source: known_hosts
target: /config/.ssh/known_hosts
uid: "911"
gid: "911"
mode: 0600
2022-02-28 18:01:25 -07:00
configs:
2022-08-13 08:59:35 -06:00
dave.yaml:
file: dave.yaml
2022-09-04 08:37:29 -06:00
name: dave.yaml-v3
Corefile:
file: Corefile
name: Corefile-v2
2022-09-04 08:37:29 -06:00
Caddyfile:
file: Caddyfile
name: Caddyfile-v74
2022-11-04 15:47:21 -06:00
index.html:
file: www/index.html
2022-11-15 19:14:48 -07:00
name: index.html-v34
2022-11-04 15:47:21 -06:00
index.mjs:
file: www/index.mjs
name: index.mjs-v1
index.css:
file: www/index.css
name: index.css-v1
2021-12-17 09:38:07 -07:00
secrets:
2022-09-07 21:47:37 -06:00
passwd:
file: secrets/passwd
name: passwd-v1
2022-09-10 17:32:15 -06:00
simpleauth.key:
file: secrets/simpleauth.key
name: simpleauth.key-v1
2022-11-10 21:22:15 -07:00
tunnel:
file: secrets/tunnel
name: tunnel-v1
known_hosts:
file: secrets/known_hosts
name: known_hosts-v1
2021-12-17 09:38:07 -07:00
networks:
hostnet:
external: true
name: host