Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkozakiewicz committed Dec 9, 2023
1 parent 402d91a commit 6fa5f12
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 340 deletions.
50 changes: 4 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,7 @@
# Emby server infrastructure

## Included services
## Configure pritunl Cloudflare CA

- [Emby](https://hub.docker.com/r/emby/embyserver)
- [Sonarr](https://hub.docker.com/r/linuxserver/sonarr)
- [Radarr](https://hub.docker.com/r/linuxserver/radarr)
- [Bazarr](https://hub.docker.com/r/linuxserver/bazarr)
- [Jackett](https://hub.docker.com/r/linuxserver/jackett)
- [Prowlarr](https://github.com/Prowlarr/Prowlarr)
- [Transmission](https://hub.docker.com/r/linuxserver/transmission)
- [FlareSolverr](https://github.com/FlareSolverr/FlareSolverr)
- [watchtower](https://hub.docker.com/r/containrrr/watchtower)
- [logrotate](https://hub.docker.com/r/blacklabelops/logrotate)
- [traefik](https://hub.docker.com/_/traefik)
- [traefik-forward-auth](https://github.com/thomseddon/traefik-forward-auth)

## Local testing

- create .env file with required envs

```
EMBY_HOST=emby.localhost
JELLYFIN_HOST=jellyfin.localhost
SONARR_HOST=sonarr.localhost
RADARR_HOST=radarr.localhost
BAZARR_HOST=bazarr.localhost
JACKETT_HOST=jackett.localhost
PROWLARR_HOST=prowlarr.localhost
TRAEFIK_HOST=traefik.localhost
TRANSMISSION_HOST=transmission.localhost
WHOAMI_HOST=whoami.localhost
AUTH_HOST=auth.localhost
[email protected]
WATCHTOWER_HOOK_URL=
TRAEFIK_PILOT_TOKEN=
CF_DNS_API_TOKEN=
OAUTH2_CLIENT_ID=
OAUTH2_CLIENT_SECRET=
OAUTH2_COOKIE_SECRET=
```

- start project

```
docker-compose up -d
```

- services will be available at http://_service_.localhost
`docker exec -it pritunl bash`
`pritunl set app.server_cert "$(cat /certs/cert.pem)"`
`pritunl set app.server_key "$(cat /certs/cert.key)"`
294 changes: 0 additions & 294 deletions docker-compose.yaml

This file was deleted.

36 changes: 36 additions & 0 deletions pritunl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '3'

services:
mongo:
image: mongo:latest
container_name: pritunldb
hostname: pritunldb
network_mode: bridge
restart: always
volumes:
- ./db:/data/db

pritunl:
image: goofball222/pritunl:latest
container_name: pritunl
hostname: pritunl
depends_on:
- mongo
network_mode: bridge
restart: always
privileged: true
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
links:
- mongo
volumes:
- /etc/localtime:/etc/localtime:ro
- /lib/modules:/lib/modules:ro
- ./certs:/certs:ro
ports:
- 443:443
- 1194:1194
- 1194:1194/udp
- 1195:1195/udp
environment:
- TZ=UTC

0 comments on commit 6fa5f12

Please sign in to comment.