Skip to content

Commit

Permalink
config[docker]: .env.template; Removed original .env
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianmiranda committed Aug 27, 2020
1 parent 6b28348 commit 561083d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .env → .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/multimedia-stack-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .env.template must be copied
.env
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mediabox
# :tv: Mediabox

![](https://github.com/cristianmiranda/mediabox/workflows/Multimedia%20Stack%20Deployment/badge.svg)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 561083d

Please sign in to comment.