Compare commits
5 Commits
f14b2aefc4
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 542d004198 | |||
| d4a6a13d66 | |||
| c00ec78319 | |||
| c1d16bdeec | |||
| 6e5bf0745e |
@@ -13,6 +13,7 @@ services:
|
|||||||
# - 0.0.0.0:8752:443
|
# - 0.0.0.0:8752:443
|
||||||
networks:
|
networks:
|
||||||
- shnet
|
- shnet
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
swag:
|
swag:
|
||||||
image: linuxserver/swag
|
image: linuxserver/swag
|
||||||
@@ -23,10 +24,10 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=America/Chicago
|
- TZ=America/Chicago
|
||||||
- URL=alcap.duckdns.org
|
- URL=gminus2.duckdns.org
|
||||||
- DUCKDNSTOKEN=7efb0d54-574a-49c5-80d6-214da7c523c6
|
- DUCKDNSTOKEN=7efb0d54-574a-49c5-80d6-214da7c523c6
|
||||||
- SUBDOMAINS=
|
- SUBDOMAINS=cloud,git,kb,wiki
|
||||||
- EXTRA_DOMAINS=gminus2.duckdns.org,cloud.gminus2.duckdns.org,git.gminus2.duckdns.org,kb.gminus2.duckdns.org
|
- EXTRA_DOMAINS=alcap.duckdns.org
|
||||||
- VALIDATION=http
|
- VALIDATION=http
|
||||||
- ONLY_SUBDOMAINS=false
|
- ONLY_SUBDOMAINS=false
|
||||||
- STAGING=false
|
- STAGING=false
|
||||||
@@ -96,6 +97,7 @@ services:
|
|||||||
- DB_DATABASE=bookstack
|
- DB_DATABASE=bookstack
|
||||||
volumes:
|
volumes:
|
||||||
- ./bookstack-data:/config
|
- ./bookstack-data:/config
|
||||||
|
- /home/nam/Data/notes/bookstack/public/favicon.ico:/var/www/html/public/favicon.ico
|
||||||
# ports:
|
# ports:
|
||||||
# - 6875:80
|
# - 6875:80
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -105,14 +107,14 @@ services:
|
|||||||
- shnet
|
- shnet
|
||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
image: linuxserver/nextcloud
|
image: linuxserver/nextcloud:20.0.0-ls102
|
||||||
container_name: cloud
|
container_name: cloud
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=America/Chicago
|
- TZ=America/Chicago
|
||||||
# ports:
|
# ports:
|
||||||
# - 4443:443
|
# - 192.168.1.107:4443:443
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/nam/Data/CloudData:/data
|
- /home/nam/Data/CloudData:/data
|
||||||
@@ -122,6 +124,22 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- shnet
|
- shnet
|
||||||
|
|
||||||
|
dokuwiki:
|
||||||
|
image: linuxserver/dokuwiki
|
||||||
|
container_name: dokuwiki
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=America/Chicago
|
||||||
|
volumes:
|
||||||
|
- ./dokuwiki-data:/config
|
||||||
|
ports:
|
||||||
|
- 192.168.1.107:6880:80
|
||||||
|
- 192.168.1.107:6443:443 #optional
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- shnet
|
||||||
|
|
||||||
# pma:
|
# pma:
|
||||||
# image: phpmyadmin/phpmyadmin:latest
|
# image: phpmyadmin/phpmyadmin:latest
|
||||||
# container_name: pma
|
# container_name: pma
|
||||||
@@ -130,6 +148,6 @@ services:
|
|||||||
# - PMA_USER=root
|
# - PMA_USER=root
|
||||||
# - PMA_PASSWORD=a141592-Z
|
# - PMA_PASSWORD=a141592-Z
|
||||||
# ports:
|
# ports:
|
||||||
# - 0.0.0.0:8081:80
|
# - 192.168.1.107:8081:80
|
||||||
# networks:
|
# networks:
|
||||||
# - shnet
|
# - shnet
|
||||||
|
|||||||
36
swag-config/nginx/proxy-confs/dokuwiki.subdomain.conf
Normal file
36
swag-config/nginx/proxy-confs/dokuwiki.subdomain.conf
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# First complete the setup by appending install.php to URL.
|
||||||
|
# Make sure that your dns has a cname set for dokuwiki
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name wiki.gminus2.duckdns.org;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 301 https://$server_name$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
|
||||||
|
server_name wiki.gminus2.duckdns.org;
|
||||||
|
|
||||||
|
include /config/nginx/ssl.conf;
|
||||||
|
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
#enable the next two lines for http auth
|
||||||
|
#auth_basic "Restricted";
|
||||||
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
set $upstream_app dokuwiki;
|
||||||
|
set $upstream_port 80;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user