WIP: Synapse Admin #26
|
@ -63,6 +63,7 @@ Not every stack is tested to fully work.
|
|||
| Sonarr | ✅ | `linuxserver/sonarr` | TV Shows, series and anime downloader and manager. | [Website](https://sonarr.tv), [Github](https://github.com/Sonarr/Sonarr), [Wiki](https://wiki.servarr.com/sonarr) |
|
||||
| Speedtest | ✅ | `adolfintel/speedtest` | Libre speed test implementation. | [Website](https://librespeed.org), [Github](https://github.com/librespeed/speedtest) |
|
||||
| Synapse | ✅ | `matrixdotorg/synapse` | Matrix reference server written in Python. | [Website](https://matrix.org/docs/projects/server/synapse), [Github](https://github.com/matrix-org/synapse), [Installation and configuration](https://matrix-org.github.io/synapse/latest/setup/installation.html) |
|
||||
| Synapse Admin | ❌ Unfinished | `awesometechnologies/synapse-admin` | Synapse Admin panel. | [Github](https://github.com/Awesome-Technologies/synapse-admin) |
|
||||
| Syncthing | ✅ | `linuxserver/syncthing` | P2P file synchronization daemon. | [Website](https://syncthing.net), [Github](https://github.com/syncthing/syncthing) |
|
||||
| Tor OBFS4 Bridge | ✅ | `thetorproject/obfs4-bridge` | Tor OBFS4 Bridge for Tor blocking bypass. | [Website](https://community.torproject.org/relay/setup/bridge/), [Gitlab](https://gitlab.torproject.org/tpo/anti-censorship/docker-obfs4-bridge), [Manual](https://community.torproject.org/relay/setup/bridge/docker/) |
|
||||
| Tor Privoxy | ✅ | `registry.gitlab.com/skobkin/torproxy-obfs4` | Tor image with integrated privoxy and OBFS4 bridge support. | [Original image Github](https://github.com/dperson/torproxy), [OBFS4 support image Gitlab](https://gitlab.com/skobkin/torproxy-obfs4) |
|
||||
|
|
7
synapse-admin/.env.dist
Normal file
7
synapse-admin/.env.dist
Normal file
|
@ -0,0 +1,7 @@
|
|||
WEBUI_BIND_ADDR=127.0.0.1
|
||||
WEBUI_BIND_PORT=8009
|
||||
|
||||
REACT_APP_SERVER=https://synapse
|
||||
|
||||
LOG_MAX_SIZE=5m
|
||||
LOG_MAX_FILE=5
|
25
synapse-admin/docker-compose.yml
Normal file
25
synapse-admin/docker-compose.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
# https://hub.docker.com/r/awesometechnologies/synapse-admin
|
||||
version: '3.7'
|
||||
|
||||
networks:
|
||||
# You need to create this network manually first!
|
||||
synapse:
|
||||
external: true
|
||||
|
||||
services:
|
||||
synapse-admin:
|
||||
image: awesometechnologies/synapse-admin
|
||||
container_name: synapse-admin
|
||||
hostname: synapse-admin
|
||||
networks:
|
||||
- default
|
||||
- synapse
|
||||
ports:
|
||||
- "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8009}:80"
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||
max-file: "${LOG_MAX_FILE:-5}"
|
18
synapse-admin/nginx/synapse_admin.conf
Normal file
18
synapse-admin/nginx/synapse_admin.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name synapse.domain.tld;
|
||||
|
||||
#charset utf-8;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
|
||||
proxy_pass http://127.0.0.1:8009/;
|
||||
}
|
||||
}
|
|
@ -1,6 +1,14 @@
|
|||
# [Synapse](https://matrix.org/docs/projects/server/synapse) ([Matrix.org](https://matrix.org/) server)
|
||||
|
||||
# Generating server configuration
|
||||
## Shared network
|
||||
|
||||
You MUST create a shared network `synapse` for potential ability to communicate with synapse from `synapse-admin` stack.
|
||||
|
||||
```shell
|
||||
docker network create --internal synapse
|
||||
```
|
||||
|
||||
## Generating server configuration
|
||||
|
||||
Do not forget to prepare `.env` file before running this.
|
||||
|
||||
|
@ -15,7 +23,7 @@ If you want to use full-fledged PostgreSQL instead of SQLite, you can check
|
|||
|
||||
To use PostgreSQL running on the host machine, use [this](../_docs/access_database_on_host_from_docker.md) configuration.
|
||||
|
||||
# Running the server
|
||||
## Running the server
|
||||
|
||||
```shell
|
||||
docker-compose up -d
|
||||
|
|
Loading…
Reference in a new issue