stacks/homelab/docker-compose.yaml

158 lines
3.3 KiB
YAML
Raw Normal View History

2021-12-17 09:38:07 -07:00
version: "3.8"
services:
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-09-04 08:37:29 -06:00
source: /srv/ext
target: /srv/ext
2021-12-17 09:38:07 -07:00
read_only: true
- type: bind
2022-09-04 08:37:29 -06:00
source: /srv/ext/sys/caddy
target: /data/caddy
configs:
- source: Caddyfile
target: /etc/caddy/Caddyfile
- source: index.html
target: /www/index.html
2021-12-17 09:38:07 -07:00
secrets:
2022-09-04 08:37:29 -06:00
- caddy-users
extra_hosts:
- host.docker.internal:host-gateway
2021-12-17 09:38:07 -07:00
plex:
2022-08-02 20:57:44 -06:00
image: ghcr.io/linuxserver/plex
2021-12-17 09:38:07 -07:00
networks:
- hostnet
environment:
TZ: US/Mountain
2022-08-02 20:57:44 -06:00
VERSION: public
2022-09-04 08:37:29 -06:00
PLEX_CLAIM: claim-jp4-HfTyRzCce4WzUdj5
2021-12-17 09:38:07 -07:00
volumes:
- type: bind
2022-01-02 16:43:23 -07:00
source: /srv/ext/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
2021-12-17 09:38:07 -07:00
transmission:
image: ghcr.io/linuxserver/transmission
networks:
- hostnet
volumes:
- type: bind
2022-01-02 16:43:23 -07:00
source: /srv/ext/sys/transmission
2021-12-17 09:38:07 -07:00
target: /config
- type: bind
2022-01-02 16:43:23 -07:00
source: /srv/ext/incoming
target: /srv/ext/incoming
gitea:
image: gitea/gitea:1
environment:
USER_UID: 1000
USER_GID: 1000
volumes:
- type: bind
source: /srv/ext/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
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-01-02 16:43:23 -07:00
source: /srv/ext/sys/atlas/etc
2021-12-26 12:02:07 -07:00
target: /var/atlas-probe/etc
- type: bind
2022-01-02 16:43:23 -07:00
source: /srv/ext/sys/atlas/status
2021-12-26 12:02:07 -07:00
target: /var/atlas-probe/status
2021-12-26 20:40:04 -07:00
networks:
- hostnet
2021-12-26 12:02:07 -07:00
2022-03-05 20:27:07 -07:00
geneweb:
image: ravermeister/geneweb
volumes:
- type: bind
source: /srv/ext/sys/geneweb/etc
target: /usr/local/share/geneweb/etc
- type: bind
source: /srv/ext/sys/geneweb/share/data
target: /usr/local/share/geneweb/share/data
- type: bind
source: /srv/ext/sys/geneweb/log
target: /usr/local/share/geneweb/log
2022-02-27 10:32:35 -07:00
samba:
image: dperson/samba
volumes:
- type: bind
source: /srv/ext
target: /srv/ext
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-09-04 08:37:29 -06:00
SHARE1: drive;/srv/ext;yes;no;no
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-09-04 08:37:29 -06:00
source: /srv/ext
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
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
Caddyfile:
file: Caddyfile
2022-09-04 17:12:30 -06:00
name: Caddyfile-v18
2022-09-04 08:37:29 -06:00
index.html:
file: index.html
2022-09-04 17:12:30 -06:00
name: index.html-v9
2022-02-27 10:32:35 -07:00
2021-12-17 09:38:07 -07:00
secrets:
2022-09-04 08:37:29 -06:00
caddy-users:
file: secrets/caddy-users
name: caddy-users-v2
2021-12-17 09:38:07 -07:00
networks:
hostnet:
external: true
name: host