Compare commits

...

14 Commits

Author SHA1 Message Date
LRVT
5d609b451c
Update docker-compose.yml 2023-03-07 02:10:30 +01:00
LRVT
afb0365e07
Update README.md 2023-03-07 02:05:33 +01:00
LRVT
96906877d2
Update docker-compose.yml 2023-03-07 02:03:55 +01:00
LRVT
5aa0d5fed6
Update docker-compose.yml
allow user registration for first user setup
2023-03-07 01:57:59 +01:00
LRVT
0fb53bbb04
Update docker-compose.yml
add optional protection for /admin endpoint via traefik labels
2023-03-07 01:36:59 +01:00
LRVT
9dcd05961f
Update .env
remove whitespaces and add new optional login area
2023-03-07 01:21:18 +01:00
L4RM4ND
0aa752cab6 Merge branch 'main' of https://github.com/Haxxnet/Compose-Examples 2023-03-07 01:11:39 +01:00
L4RM4ND
46311a53a5 fix traefik middleware labels 2023-03-07 01:06:38 +01:00
L4RM4ND
e5a439c811 add forte 2023-03-07 01:06:38 +01:00
LRVT
0b246eace3 Update configuration.yml
add pw policy
2023-03-07 01:06:38 +01:00
LRVT
efd2d6a3bd Update README.md 2023-03-07 01:06:38 +01:00
LRVT
72c612035a Update README.md
add some cool projects currently missing
2023-03-07 01:06:38 +01:00
L4RM4ND
2ffaf15e99 fix traefik middleware labels 2023-03-07 00:22:51 +01:00
L4RM4ND
3330f3499b add forte 2023-03-07 00:16:46 +01:00
6 changed files with 143 additions and 67 deletions

View File

@ -109,6 +109,7 @@ docker compose up
- [Stash](examples/stash) - Stash is a self-hosted webapp written in Go which organizes and serves your porn.
- [Raveberry](examples/raveberry) - A multi-user music server with a focus on participation.
- [Deemix](examples/deemix) - deemix is a barebone deezer downloader library built from the ashes of Deezloader Remix.
- [Forte](examples/forte) - Self-hosted, music streaming platform.
- [MeTube](examples/metube) - Web GUI for youtube-dl (using the yt-dlp fork) with playlist support. Allows you to download videos and audio only from YouTube and dozens of other sites.
- [Syncthing](examples/syncthing) - Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.
- [Transmission](examples/transmission) - Transmission is a fast, easy, and free BitTorrent client.

9
examples/forte/README.md Normal file
View File

@ -0,0 +1,9 @@
# References
- https://github.com/kaangiray26/forte
# Notes
After deploying, the forte admin dashboard will be available on TCP/3000. You can log into the web dashboard using `forte` as username and `alternative` as password. Please change those default credentials. Use a reverse proxy like Traefik if you plan on exposing the forte instance, as HTTPS is required to stream flawlessly.
After creating a user account via the forte web dashboard, you can browse https://forte.buzl.uk/ and use your own server to stream music from. Specify your created user account and the automatically created password token.

View File

@ -0,0 +1,56 @@
version: '3'
services:
app:
image: kaangiray26/forte:2.8
container_name: forte
restart: on-failure
#ports:
# - "3000:3000"
depends_on:
postgres:
condition: service_healthy
environment:
mode: public
port: 3000
NODE_ENV: production # Set Node Environment
POSTGRES_HOST: postgres # Postgres Host/IP
POSTGRES_PORT: 5432 # Postgres Database Port
POSTGRES_DB: forte # Set Postgres Database Name
POSTGRES_USER: forte # Set Postgres Username
POSTGRES_PASSWORD: forte # Set Postgres Password
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/forte/library:/library # your music library to import from
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.http.routers.forte.rule=Host(`forte.example.com`)
# - traefik.http.services.forte.loadbalancer.server.port=3000
# - traefik.docker.network=proxy
# - traefik.http.middlewares.cors.headers.customResponseHeaders.Access-Control-Allow-Origin=https://forte.buzl.uk
# - traefik.http.middlewares.cors.headers.customFrameOptionsValue=forte.buzl.uk
# - traefik.http.middlewares.cors.headers.customResponseHeaders.Cross-Origin-Resource-Policy=cross-origin
# - traefik.http.routers.forte.middlewares=cors,local-ipwhitelist@file
postgres:
image: kaangiray26/postgres:2.0
container_name: forte-db
restart: always
environment:
POSTGRES_DB: forte # Set Postgres Database Name
POSTGRES_USER: forte # Set Postgres Username
POSTGRES_PASSWORD: forte # Set Postgres Password
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/forte/db:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U forte" ]
interval: 10s
timeout: 5s
retries: 5
#networks:
# - proxy
#networks:
# proxy:
# external: true

View File

@ -3,68 +3,72 @@
# -------
# Enable self-signed certs (app/ssl)
HTTPS=false
# Domain
HOST=localhost
# Signaling Server listen port
PORT=3000
# Ngrok
# 1. Goto https://ngrok.com
# 2. Get started for free
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
NGROK_ENABLED=false # or true
NGROK_AUTH_TOKEN=YourNgrokAuthToken
# Stun
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
STUN=stun:stun.l.google.com:19302
# Turn
# Recommended: https://github.com/coturn/coturn
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
TURN_ENABLED=false # or true
TURN_URLS=turn:YourTurnServer
TURN_USERNAME=YourTurnUsername
TURN_PASSWORD=YourTurnPassword
# API
# The response will give you a entrypoint / Room URL for your meeting.
# curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
API_KEY_SECRET=8jBEI8KVKj2cadd3Fy3ayu6Fwacg8+NjCiMjmINac # pls change
# Survey URL
# Using to redirect the client after close the call (feedbacks, website...)
SURVEY_ENABLED=false # or true
SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
# Sentry (optional)
# 1. Goto https://sentry.io/
# 2. Create account
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
SENTRY_ENABLED=false # or true
SENTRY_DSN=YourClientKeyDSN
SENTRY_TRACES_SAMPLE_RATE=1.0
# Slack Integration (optional)
# 1. Goto https://api.slack.com/apps/
# 2. Create your app
# 3. On Settings - Basic Information - App Credentials chose your Signing Secret
# 4. Create a Slash Commands and put as Request URL: https://your.domain.name/slack
SLACK_ENABLED=false # or true
SLACK_SIGNING_SECRET=YourSlackSigningSecret
# Auto deploy on Railway
# https://railway.app/new/template/mirotalk?referralCode=mirotalk
HTTPS=false
# Domain
HOST=localhost
# enable the following to protect mirotalk with an additional login screen
HOST_PROTECTED=false
HOST_USERNAME=username
HOST_PASSWORD=password
# Signaling Server listen port
PORT=3000
# Ngrok
# 1. Goto https://ngrok.com
# 2. Get started for free
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
NGROK_ENABLED=false # or true
NGROK_AUTH_TOKEN=YourNgrokAuthToken
# Stun
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
STUN=stun:stun.l.google.com:19302
# Turn
# Recommended: https://github.com/coturn/coturn
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
TURN_ENABLED=false # or true
TURN_URLS=turn:YourTurnServer
TURN_USERNAME=YourTurnUsername
TURN_PASSWORD=YourTurnPassword
# API
# The response will give you a entrypoint / Room URL for your meeting.
# curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
API_KEY_SECRET=8jBEI8KVKj2cadd3Fy3ayu6Fwacg8+NjCiMjmINac # pls change
# Survey URL
# Using to redirect the client after close the call (feedbacks, website...)
SURVEY_ENABLED=false # or true
SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
# Sentry (optional)
# 1. Goto https://sentry.io/
# 2. Create account
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
SENTRY_ENABLED=false # or true
SENTRY_DSN=YourClientKeyDSN
SENTRY_TRACES_SAMPLE_RATE=1.0
# Slack Integration (optional)
# 1. Goto https://api.slack.com/apps/
# 2. Create your app
# 3. On Settings - Basic Information - App Credentials chose your Signing Secret
# 4. Create a Slash Commands and put as Request URL: https://your.domain.name/slack
SLACK_ENABLED=false # or true
SLACK_SIGNING_SECRET=YourSlackSigningSecret
# Auto deploy on Railway
# https://railway.app/new/template/mirotalk?referralCode=mirotalk

View File

@ -5,4 +5,4 @@
# Notes
Disable open user registration after setting up your account. This can be done via the `/admin` web panel, if enabled, or by adjusting the `config.json` file.
Disable open user registration after setting up your account. This can be done via the `/admin` web panel, if enabled, or by adjusting the `config.json` file. Alternatively via environment variables. See documentation [here](https://github.com/dani-garcia/vaultwarden/wiki/Disable-registration-of-new-users).

View File

@ -10,13 +10,15 @@ services:
- 1.1.1.1
environment:
#- ADMIN_TOKEN=MySecureAdminTokenPasswordForAdminArea
#- SIGNUPS_ALLOWED=false
#- SIGNUPS_VERIFY=true
#- INVITATIONS_ALLOWED=true # only admins and orga owners
#- globalSettings__mail__replyToEmail=bitwarden@example.com
#- globalSettings__mail__smtp__host=smtp.gmail.com
#- globalSettings__mail__smtp__username=bitwarden@example.com
#- globalSettings__mail__smtp__password=MyStrongSmtpLoginPassword
#- globalSettings__mail__smtp__ssl=true
#- globalSettings__mail__smtp__port=587
- globalSettings__disableUserRegistration=true
- LOG_FILE=/data/logs/access.log
- WEBSOCKET_ENABLED=true
- ROCKET_ENV=prod
@ -38,6 +40,10 @@ services:
# - traefik.http.routers.vaultwarden-ws.rule=Host(`bitwarden.example.com`) && Path(`/notifications/hub`)
# - traefik.http.routers.vaultwarden-ws.service=vaultwarden-ws
# - traefik.http.services.vaultwarden-ws.loadbalancer.server.port=3012
# - traefik.http.routers.vaultwarden-admin.rule=Host(`bitwarden.example.com`) && Path(`/admin`)
# - traefik.http.routers.vaultwarden-admin.service=vaultwarden
# - traefik.http.services.vaultwarden-admin.loadbalancer.server.port=80
# - traefik.http.routers.vaultwarden-admin.middlewares=local-ipwhitelist@file,authelia@file
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vaultwarden/data:/data
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vaultwarden/logs:/data/logs