add handbrake and bgp
continuous-integration/drone/push Build is passing Details

states/02
thest1tch 1 year ago
parent bbbb018b47
commit 79478ccc6c

@ -0,0 +1,47 @@
```yaml title="docker-compose.yml"
version: "3.7"
services:
## Handbrake - Video Converter
handbrake:
container_name: handbrake
image: jlesage/handbrake:latest
restart: always
networks:
- traefik_proxy
# ports:
# - "5800:5800"
security_opt:
- no-new-privileges:true
volumes:
- $USERDIR/docker/handbrake/config:/config:rw
- $USERDIR/docker/handbrake/watch:/watch:rw # Watch folder
- $USERDIR/docker/handbrake/output:/output:rw # Output folder
- /mnt/storage:/storage:ro # Data folder - can be anything
- $USERDIR/dwnloads:/downloads:ro # Data folder - can be anything
environment:
- USER_ID=$PUID
- GROUP_ID=$PGID
- TZ=$TZ
- UMASK=002
- DISPLAY_WIDTH=1600
- DISPLAY_HEIGHT=768
# - AUTOMATED_CONVERSION_PRESET=H.265 MKV 480p30
- AUTOMATED_CONVERSION_PRESET=H.265 MKV 1080p30
- AUTOMATED_CONVERSION_FORMAT=mkv
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.handbrake-rtr.entrypoints=https"
- "traefik.http.routers.handbrake-rtr.rule=Host(`handbrake.$DOMAINNAME`)"
## Middlewares
- "traefik.http.routers.handbrake-rtr.middlewares=secure-chain@file"
## HTTP Services
- "traefik.http.routers.handbrake-rtr.service=handbrake-svc"
- "traefik.http.services.handbrake-svc.loadbalancer.server.port=5800"
networks:
traefik_proxy:
external: true
```

@ -0,0 +1,12 @@
# BGP на RouteOS 7
```
/routing bgp template
add as="ВАША ВЫДУМАННАЯ AS БЕЗ СКОБОК" disabled=no hold-time=4m input.filter=bgp_in .ignore-as-path-len=yes keepalive-time=1m multihop=yes name=antifilter routing-table=main
/routing bgp connection
add disabled=no hold-time=4m input.filter=bgp_in .ignore-as-path-len=yes keepalive-time=1m local.address= "ВАШ ВНУТРЕННИЙ ИП БЕЗ СКОБОК" .role=ebgp multihop=yes name=antifilter_bgp remote.address=45.154.73.71/32 .as=65432 router-id="ВАШ ВНЕШНИЙ ИП БЕЗ СКОБОК" routing-table=main templates=antifilter
/routing filter rule
add chain=bgp_in disabled=no rule="set gw "название VPN интерфейса"; accept;"
```

@ -32,6 +32,7 @@ nav:
- Игровые сервера: - Игровые сервера:
- Valheim: docker/games/valheim.md - Valheim: docker/games/valheim.md
- WikiJS: docker/wikijs.md - WikiJS: docker/wikijs.md
- HandBrake: docker/handbrake.md
- Ubuntu Server: - Ubuntu Server:
- ubuntu/index.md - ubuntu/index.md
- Команды: ubuntu/commands.md - Команды: ubuntu/commands.md
@ -133,6 +134,7 @@ nav:
- Split-DNS: network/mikrotik/split-dns.md - Split-DNS: network/mikrotik/split-dns.md
- Hairpin NAT: network/mikrotik/hairpin-nat.md - Hairpin NAT: network/mikrotik/hairpin-nat.md
- UPnP: network/mikrotik/upnp.md - UPnP: network/mikrotik/upnp.md
- BGP: network/mikrotik/bgp.md
- Ubiquiti: - Ubiquiti:
- Добавление новой точки: network/ubi/add-new-ap.md - Добавление новой точки: network/ubi/add-new-ap.md
- Ошибка обновления: network/ubi/failed-update.md - Ошибка обновления: network/ubi/failed-update.md

Loading…
Cancel
Save