mirror of
https://github.com/CoolnsX/selfhost.git
synced 2025-12-20 07:15:17 +05:30
this is why docs are important
This commit is contained in:
@@ -8,7 +8,6 @@ services:
|
|||||||
- "aliasgroup1=$CLOUD"
|
- "aliasgroup1=$CLOUD"
|
||||||
- 'domain=$CLOUD'
|
- 'domain=$CLOUD'
|
||||||
- DONT_GEN_SSL_CERT=true
|
- DONT_GEN_SSL_CERT=true
|
||||||
- dictionaries="en_GB en_US"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- nginx_proxy
|
- nginx_proxy
|
||||||
|
|||||||
@@ -2,8 +2,9 @@ services:
|
|||||||
headscale:
|
headscale:
|
||||||
container_name: headscale
|
container_name: headscale
|
||||||
#image: headscale/headscale:latest
|
#image: headscale/headscale:latest
|
||||||
image: headscale/headscale:0.23.0
|
image: headscale/headscale:0.22.0
|
||||||
command: serve
|
#command: serve
|
||||||
|
command: headscale serve
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/etc/headscale/
|
- ./config:/etc/headscale/
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ./letsencrypt:/etc/letsencrypt
|
- ./letsencrypt:/etc/letsencrypt
|
||||||
|
- ./server_proxy.conf:/data/nginx/custom/server_proxy.conf
|
||||||
networks:
|
networks:
|
||||||
- nginx_proxy
|
- nginx_proxy
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
8
nginx-proxy/server_proxy.conf
Normal file
8
nginx-proxy/server_proxy.conf
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
gzip on;
|
||||||
|
gzip_types text/plain text/css text/javascript text/xml text/calendar text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy application/javascript application/json application/ld+json application/manifest+json application/rdf+xml application/rss+xml application/schema+json application/atom+xml application/xhtml+xml application/xml application/xml+rss application/soap+xml application/font-woff application/font-woff2 application/vnd.ms-fontobject application/x-font-ttf application/x-javascript application/x-web-app-manifest+json application/pdf application/vnd.ms-excel application/msword application/vnd.ms-powerpoint application/zip application/x-shockwave-flash application/xhtml+xml application/xslt+xml application/xml-dtd application/vnd.android.package-archive application/vnd.iphone application/vnd.wap.xhtml+xml application/xhtml+xml application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/x-mpegURL application/x-rar-compressed application/x-shockwave-flash application/x-stuffit application/x-tar application/x-web-app-manifest+json application/xhtml+xml application/zip application/x-7z-compressed font/eot font/opentype image/bmp image/svg+xml image/vnd.microsoft.icon image/x-icon;
|
||||||
|
gzip_min_length 1000;
|
||||||
|
gzip_comp_level 9;
|
||||||
|
gzip_buffers 32 8k;
|
||||||
|
gzip_proxied no-cache no-store private expired auth;
|
||||||
|
gunzip on;
|
||||||
|
gzip_static on;
|
||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- NTFY_LISTEN_HTTP=:7777
|
- NTFY_LISTEN_HTTP=:7777
|
||||||
- NTFY_BEHIND_PROXY=true
|
- NTFY_BEHIND_PROXY=true
|
||||||
- NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
|
- NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
|
||||||
- NTFY_ENABLE_LOGIN=true
|
- NTFY_ENABLE_LOGIN=false
|
||||||
- PUID=1001
|
- PUID=1001
|
||||||
- PGID=1001
|
- PGID=1001
|
||||||
user: 1001:1001
|
user: 1001:1001
|
||||||
|
|||||||
Reference in New Issue
Block a user