diff --git a/.env b/.env.template similarity index 95% rename from .env rename to .env.template index 348df28..2dacef6 100644 --- a/.env +++ b/.env.template @@ -12,8 +12,8 @@ PGID=1000 # # Custom domain and certificates # -DOMAIN=crismiranda.net -SSL_ACME_EMAIL=crism60@gmail.com +DOMAIN=example.com +SSL_ACME_EMAIL=you@mail.com # # VPN DNS (e.g: https://support.nordvpn.com/General-info/1047409702/What-are-your-DNS-server-addresses.htm) @@ -55,8 +55,8 @@ DOWNLOADS=/data/ssd/mediabox/downloads # Calibre credentials # PASSWORD => md5 hash for the calibre desktop gui. # -CALIBRE_USERNAME=cmiranda -CALIBRE_PASSWORD=9537d74bf1388c80c5745127b20f87d2 +CALIBRE_USERNAME=yourusername +CALIBRE_PASSWORD=8543a52ww3456g6785725427b20f87d2 # # The latest tag will get you the original Organizr v2 image. diff --git a/.github/workflows/multimedia-stack-deployment.yml b/.github/workflows/multimedia-stack-deployment.yml index 5842a49..a2d4b4e 100644 --- a/.github/workflows/multimedia-stack-deployment.yml +++ b/.github/workflows/multimedia-stack-deployment.yml @@ -21,4 +21,12 @@ jobs: - uses: actions/checkout@v2 - name: Main Stack Deployment + VPN Protected Torrenting + env: + PUID: 1000 + PGID: 1000 + DATA: /data + CONTAINERS: /data/containers + DOWNLOADS: /data/downloads + ORGANIZR_TAG: latest + DELUGE_THEME: darker run: docker-compose -f docker-compose.yml -f docker-compose.torrents-on-vpn.yml up -d diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0beae9e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# .env.template must be copied +.env diff --git a/README.md b/README.md index 02fda93..6f70746 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Mediabox +# :tv: Mediabox ![](https://github.com/cristianmiranda/mediabox/workflows/Multimedia%20Stack%20Deployment/badge.svg) @@ -31,8 +31,12 @@ * [Docker-Compose](https://docs.docker.com/compose/) ## Setup -* Replace all paths in `.env` with whatever makes sense for you (follow the comments above each property). -* It might be a good idea to clone this repo inside the external disk if you plan to use it on different machines/architectures. +1. Copy `.env.template` +```bash +cp .env.template .env +``` +2. Replace variables on `.env` with whatever makes sense to you (follow the comments above each property). +3. It might be a good idea to clone this repo inside the external disk if you plan to use it on different machines/architectures. ## Starting ```bash