Compare commits

..

9 Commits

Author SHA1 Message Date
sporada 5de4093a29 update ts3 live.env.tpl 2021-04-29 10:47:18 +02:00
sporada df34f1f000 update traefik live.env.tpl 2021-04-29 10:45:25 +02:00
sporada 685bfcda29 change traefik live.env.tpl 2021-04-29 10:42:54 +02:00
sporada b24d9074ac update live.env.tpl 2021-04-29 10:39:16 +02:00
sporada 06716aa11f Merge branch 'remote_setup' of https://gitea.sporada.eu/sporada/selfhosted-traefik into remote_setup 2021-04-29 10:34:32 +02:00
sporada 81d484de34 add nextcloud readme 2021-04-29 10:33:56 +02:00
sporada 50c67f9d7a Update 'ts3/live.env.tpl' 2021-04-29 10:30:50 +02:00
sporada ff82a1c2e3 add files from master 2021-04-29 10:28:08 +02:00
Stephan Porada 7174f91ffc remote_branch initial push 2021-04-28 12:13:46 +02:00
8 changed files with 61 additions and 50 deletions
+12
View File
@@ -1,2 +1,14 @@
# Environment files
*.env
# Nextcloud collabora file
loolwsd.xml
# Service folders
**/bundesdata_web_app/
**/data/
**/db/
**/mariadb/
**/redis/
**/html/
**/volumes/
+5 -4
View File
@@ -61,10 +61,11 @@ services:
- "traefik.http.routers.gitea.tls=true"
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
- "traefik.tcp.routers.gitea-ssh.rule=HostSNI(`*`)"
- "traefik.tcp.routers.gitea-ssh.entrypoints=ssh"
- "traefik.tcp.routers.gitea-ssh.service=gitea-ssh-svc"
- "traefik.tcp.services.gitea-ssh-svc.loadbalancer.server.port=2222"
# SSH
#- "traefik.tcp.routers.gitea-ssh.rule=HostSNI(`*`)"
#- "traefik.tcp.routers.gitea-ssh.entrypoints=ssh"
#- "traefik.tcp.routers.gitea-ssh.service=gitea-ssh-svc"
#- "traefik.tcp.services.gitea-ssh-svc.loadbalancer.server.port=2222"
depends_on:
- gitea-db
networks:
@@ -9,7 +9,7 @@
<child_root_path desc="Path to the directory under which the chroot jails for the child processes will be created. Should be on the same file system as systemplate and lotemplate. Must be an empty directory." type="path" relative="true" default="jails"></child_root_path>
<mount_jail_tree desc="Controls whether the systemplate and lotemplate contents are mounted or not, which is much faster than the default of linking/copying each file." type="bool" default="true"></mount_jail_tree>
<server_name desc="External hostname:port of the server running loolwsd. If empty, it's derived from the request (please set it if this doesn't work). Must be specified when behind a reverse-proxy or when the hostname is not reachable directly." type="string" default="">collabora.sporada.eu</server_name>
<server_name desc="External hostname:port of the server running loolwsd. If empty, it's derived from the request (please set it if this doesn't work). Must be specified when behind a reverse-proxy or when the hostname is not reachable directly." type="string" default="">collabora.domain.com</server_name>
<file_server_root_path desc="Path to the directory that should be considered root for the file server. This should be the directory containing loleaflet." type="path" relative="true" default="loleaflet/../"></file_server_root_path>
<memproportion desc="The maximum percentage of system memory consumed by all of the Collabora Online Development Edition, after which we start cleaning up idle documents" type="double" default="80.0"></memproportion>
@@ -142,7 +142,7 @@
<storage desc="Backend storage">
<filesystem allow="false" />
<wopi desc="Allow/deny wopi storage. Mutually exclusive with webdav." allow="true">
<host desc="Regex pattern of hostname to allow or deny." allow="true">nextcloud\\.sporada\\.eu</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">nextcloud\\.domain\\.com</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
<host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
@@ -156,7 +156,7 @@
</locking>
</wopi>
<webdav desc="Allow/deny webdav storage. Mutually exclusive with wopi." allow="false">
<host desc="Hostname to allow" allow="false">nextcloud.sporada.eu</host>
<host desc="Hostname to allow" allow="false">nextcloud.domain.com</host>
</webdav>
<ssl desc="SSL settings">
<as_scheme type="bool" default="true" desc="When set we exclusively use the WOPI URI's scheme to enable SSL for storage">true</as_scheme>
@@ -173,7 +173,7 @@
<admin_console desc="Web admin console settings.">
<enable desc="Enable the admin console functionality" type="bool" default="true">true</enable>
<enable_pam desc="Enable admin user authentication with PAM" type="bool" default="false">false</enable_pam>
<username desc="The username of the admin console. Ignored if PAM is enabled.">sporada</username>
<username desc="The username of the admin console. Ignored if PAM is enabled.">username</username>
<password desc="The password of the admin console. Deprecated on most platforms. Instead, use PAM or loolconfig to set up a secure password.">test</password>
</admin_console>
+1
View File
@@ -38,6 +38,7 @@ services:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
nextcloud-app:
depends_on:
- nextcloud-db
-2
View File
@@ -110,7 +110,6 @@ services:
- "--providers.docker.exposedbydefault=false"
# Entrypoints (not HTTPS)
- "--entrypoints.web.address=:80"
#- "--entrypoints.teamspeak.address=:9987/udp"
# HTTPS (websecure entrypoint)
- "--entrypoints.websecure.address=:443"
# TS3 entrypoints
@@ -142,7 +141,6 @@ services:
- "traefik.http.routers.http_catchall.rule=HostRegexp(`{any:.+}`)"
- "traefik.http.routers.http_catchall.entrypoints=web"
- "traefik.http.routers.http_catchall.middlewares=https-redirect"
ports:
# The HTTP port
- "80:80"
+2 -3
View File
@@ -1,3 +1,2 @@
No traefik ready!
This is service is not routed by traefik because the UDP routing causes package loss.
This is now routed via traefik.
Still checking performance if working it is.
+2 -2
View File
@@ -14,7 +14,7 @@ services:
container_name: ts3-service
restart: unless-stopped
volumes:
- ./ts3:/var/ts3server
- ./data:/var/ts3server
depends_on:
- teamspeak-db
labels:
@@ -32,7 +32,7 @@ services:
- "traefik.udp.routers.teamspeak-udp.service=teamspeak-udp"
- "traefik.udp.services.teamspeak-udp.loadbalancer.server.port=9987"
teamspeak-db:
teamspeak-db:
networks:
- default
image: mariadb:10