mirror of
https://github.com/DoTheEvo/selfhosted-apps-docker
synced 2024-11-17 03:25:30 +00:00
update
This commit is contained in:
parent
b6d787ce06
commit
a1c45e05af
@ -69,7 +69,7 @@ but feel free to choose a version and sticking with it once it goes to real use.
|
||||
|
||||
### Bind mount
|
||||
|
||||
No docker volumes are used. Directories and files from host
|
||||
No docker volumes are used. Directories and files from the host
|
||||
are bind mounted in to containers.</br>
|
||||
Don't feel like I know all of the aspects of this,
|
||||
but I know its easier to edit a random file on a host,
|
||||
|
@ -82,7 +82,7 @@ networks:
|
||||
`.env`
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=blabla.org
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
|
||||
@ -103,11 +103,11 @@ DB_PASS=bookstack
|
||||
DB_DATABASE=bookstack
|
||||
|
||||
# USING SENDGRID FOR SENDING EMAILS
|
||||
APP_URL=https://book.blabla.org
|
||||
APP_URL=https://book.example.com
|
||||
MAIL_DRIVER=smtp
|
||||
MAIL_HOST=smtp.sendgrid.net
|
||||
MAIL_PORT=465
|
||||
MAIL_FROM=book@blabla.org
|
||||
MAIL_FROM=book@example.com
|
||||
MAIL_USERNAME=apikey
|
||||
MAIL_PASSWORD=SG.2FA24asaddasdasdasdsadasdasdassadDEMBzuh9e43
|
||||
MAIL_ENCRYPTION=SSL
|
||||
|
@ -58,19 +58,19 @@ use=web, web=checkip.dyndns.org/, web-skip='IP Address'
|
||||
## CloudFlare (www.cloudflare.com)
|
||||
##
|
||||
protocol=cloudflare, \
|
||||
zone=blabla.org, \
|
||||
zone=example.com, \
|
||||
ttl=1, \
|
||||
login=bastard.blabla@gmail.com, \
|
||||
login=bastard@gmail.com, \
|
||||
password=global-api-key-goes-here \
|
||||
blabla.org,*.blabla.org,subdomain.blabla.org
|
||||
example.com,*.example.com,subdomain.example.com
|
||||
|
||||
##
|
||||
protocol=cloudflare, \
|
||||
zone=blobloblo.net, \
|
||||
zone=example.org, \
|
||||
ttl=1, \
|
||||
login=bastard.blobloblo@gmail.com, \
|
||||
login=bastard@gmail.com, \
|
||||
password=global-api-key-goes-here \
|
||||
blobloblo.net,*.blobloblo.net,whatever.blobloblo.net
|
||||
example.org,*.example.org,whatever.example.org
|
||||
```
|
||||
|
||||
# Start the service
|
||||
|
@ -12,7 +12,7 @@ Lightweight DHCP and DNS server.
|
||||
* [Arch wiki](https://wiki.archlinux.org/index.php/dnsmasq)
|
||||
|
||||
dnsmasq solves the problem of accessing self hosted stuff when you are inside
|
||||
your network. As asking google's DNS for `blabla.org` will return your
|
||||
your network. As asking google's DNS for `example.com` will return your
|
||||
very own public IP and most routers/firewalls wont allow this loopback,
|
||||
where your requests should go out and then right back.</br>
|
||||
Usual quick way to solve this issue is editing the `hosts` file on your machine,
|
||||
@ -76,9 +76,9 @@ server=1.1.1.1
|
||||
# DNS wildcards ----------------------------------------------------------------
|
||||
|
||||
# wildcard DNS entry sending domain and all its subdomains to an ip
|
||||
address=/blabla.org/192.168.1.2
|
||||
address=/example.com/192.168.1.2
|
||||
# subdomain override
|
||||
address=/plex.blabla.org/192.168.1.3
|
||||
address=/plex.example.com/192.168.1.3
|
||||
|
||||
# DHCP -------------------------------------------------------------------------
|
||||
|
||||
@ -150,11 +150,11 @@ add immutability, and check.
|
||||
127.0.0.1 docker-host
|
||||
192.168.1.2 docker-host
|
||||
192.168.1.1 gateway
|
||||
192.168.1.2 blabla.org
|
||||
192.168.1.2 nextcloud.blabla.org
|
||||
192.168.1.2 book.blabla.org
|
||||
192.168.1.2 passwd.blabla.org
|
||||
192.168.1.2 grafana.blabla.org
|
||||
192.168.1.2 example.com
|
||||
192.168.1.2 nextcloud.example.com
|
||||
192.168.1.2 book.example.com
|
||||
192.168.1.2 passwd.example.com
|
||||
192.168.1.2 grafana.example.com
|
||||
```
|
||||
|
||||
This is a file present on every system, linux, windows, mac, android,...
|
||||
@ -164,7 +164,7 @@ resolve records.
|
||||
|
||||
Unfortunately no wildcard support.</br>
|
||||
But as seen in the `dnsmasq.conf`, when domain is set it acts as a wildcard
|
||||
rule. So `blabla.org` stuff here is just for show.
|
||||
rule. So `example.com` stuff here is just for show.
|
||||
|
||||
# Start the service
|
||||
|
||||
@ -192,9 +192,9 @@ nut also available on windows.
|
||||
* `nslookup google.com`
|
||||
* `nslookup gateway`
|
||||
* `nslookup docker-host`
|
||||
* `nslookup blabla.org`
|
||||
* `nslookup whateverandom.blabla.org`
|
||||
* `nslookup plex.blabla.org`
|
||||
* `nslookup example.com`
|
||||
* `nslookup whateverandom.example.com`
|
||||
* `nslookup plex.example.com`
|
||||
|
||||
# Update
|
||||
|
||||
|
@ -61,7 +61,7 @@ networks:
|
||||
`.env`
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=blabla.org
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
```
|
||||
@ -111,26 +111,26 @@ services:
|
||||
- name: "Bookstack"
|
||||
logo: "/assets/tools/bookstack.png"
|
||||
subtitle: "Notes and Documentation"
|
||||
url: "https://book.blabla.org"
|
||||
url: "https://book.example.com"
|
||||
- name: "Bitwarden"
|
||||
logo: "/assets/tools/bitwarden.png"
|
||||
subtitle: "Password Manager"
|
||||
url: "https://passwd.blabla.org"
|
||||
url: "https://passwd.example.com"
|
||||
- name: "Nextcloud"
|
||||
logo: "/assets/tools/nextcloud.png"
|
||||
subtitle: "File Sync & Share"
|
||||
url: "https://nextcloud.blabla.org"
|
||||
url: "https://nextcloud.example.com"
|
||||
- name: "Monitoring"
|
||||
icon: "fas fa-heartbeat"
|
||||
items:
|
||||
- name: "Prometheus + Grafana"
|
||||
logo: "/assets/tools/grafana.png"
|
||||
subtitle: "Metric analytics & dashboards"
|
||||
url: "https://grafana.blabla.org"
|
||||
url: "https://grafana.example.com"
|
||||
- name: "Portainer"
|
||||
logo: "/assets/tools/portainer.png"
|
||||
subtitle: "Docker Manager"
|
||||
url: "https://portainer.blabla.org"
|
||||
url: "https://portainer.example.com"
|
||||
```
|
||||
|
||||
![look](https://i.imgur.com/hrggtcZ.png)
|
||||
|
@ -142,7 +142,7 @@ networks:
|
||||
`.env`
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=blabla.org
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
|
||||
@ -157,7 +157,7 @@ MYSQL_HOST=nextcloud-db
|
||||
REDIS_HOST=nextcloud-redis
|
||||
|
||||
# USING SENDGRID FOR SENDING EMAILS
|
||||
MAIL_DOMAIN=blabla.org
|
||||
MAIL_DOMAIN=example.com
|
||||
MAIL_FROM_ADDRESS=nextcloud
|
||||
SMTP_SECURE=ssl
|
||||
SMTP_HOST=smtp.sendgrid.net
|
||||
|
@ -64,7 +64,7 @@ networks:
|
||||
`.env`
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=blabla.org
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
```
|
||||
|
@ -191,7 +191,7 @@ networks:
|
||||
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=blabla.org
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
|
||||
|
@ -59,7 +59,7 @@ services:
|
||||
`.env`
|
||||
```bash
|
||||
# GENERAL
|
||||
MY_DOMAIN=blabla.org
|
||||
MY_DOMAIN=example.com
|
||||
DEFAULT_NETWORK=caddy_net
|
||||
TZ=Europe/Bratislava
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user