Add gitea, remove sucker, fix traefik /api routing

This commit is contained in:
Neale Pickett 2022-06-10 14:35:17 -06:00
parent ae33a31f92
commit cbc7bf672e
1 changed files with 40 additions and 5 deletions

View File

@ -53,7 +53,7 @@ services:
traefik.http.services.simpleauth.loadbalancer.server.port: "8080"
plex:
image: ghcr.io/linuxserver/plex:1.26.0
image: ghcr.io/linuxserver/plex:1.26.2
networks:
- hostnet
environment:
@ -69,6 +69,20 @@ services:
bind:
propagation: rslave
## Can't bind mount /dev/sr0, apparently
#sucker:
#image: registry.gitlab.com/dartcatcher/media-sucker/media-sucker
#ports:
#- published: 5880
#target: 8080
#volumes:
#- type: bind
#source: /srv/ext/incoming
#target: /incoming
#- type: bind
#source: /dev/sr0
#target: /dev/sr0
transmission:
image: ghcr.io/linuxserver/transmission
networks:
@ -83,7 +97,7 @@ services:
deploy:
labels:
# This isn't going to work, because transmission binds to the host network.
traefik.http.routers.transmission.rule: "Host(`$FQDN`) && PathPrefix(`/transmission`)"
traefik.http.routers.transmission.rule: "PathPrefix(`/transmission`)"
traefik.http.services.transmission.loadbalancer.server.port: "9091"
nextcloud:
@ -126,6 +140,30 @@ services:
source: /srv/ext/sys/redis
target: /var/lib/redis
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
deploy:
labels:
traefik.http.routers.gitea.rule: "Host(`git.woozle.org`)"
traefik.http.routers.gitea.middlewares: gitea-striparoo
traefik.http.middlewares.gitea-striparoo.stripprefix.prefixes: "/gitea"
traefik.http.services.gitea.loadbalancer.server.port: "3000"
atlas:
image: ctassisf/ripe-atlas-alpine:arm64v8
volumes:
@ -172,9 +210,6 @@ services:
- type: bind
source: /srv/ext/sys/geneweb/log
target: /usr/local/share/geneweb/log
# ports:
# - published: 2316
# target: 2316
deploy:
labels:
traefik.http.routers.gwsetup.rule: "PathPrefix(`/gwsetup`)"