mirror of https://github.com/tiyn/wiki
parent
5bd3f22497
commit
099a56516c
@ -0,0 +1,34 @@
|
||||
# awesometechnologies - synapse-admin
|
||||
|
||||
The official container and documentation was made by
|
||||
[awesometechnologies](https://hub.docker.com/awesometechnologies/synapse-admin).
|
||||
This docker-rebuild is made up by a `docker-compose.yml` file.
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports in the `ports:` section.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| `80` | `80` | TCP | WebUI |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```shell
|
||||
#!/bin/sh
|
||||
docker-compose down
|
||||
docker pull awesometechnologies/synapse-admin:latest
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yml
|
||||
version: "2"
|
||||
services:
|
||||
synapse-admin:
|
||||
image: awesometechnologies/synapse-admin:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 80:80
|
||||
```
|
@ -0,0 +1,67 @@
|
||||
# matrixdotorg - synapse
|
||||
|
||||
The official container and documentation was made by
|
||||
[matrixdotorg](https://hub.docker.com/matrixdotorg/synapse).
|
||||
This docker-rebuild is made up by a `docker-compose.yml` file.
|
||||
If you want to setup a Matrix homeserver please take a look at
|
||||
[the matrix setup guide](../matrix.md).
|
||||
|
||||
## Environment-variables
|
||||
|
||||
Set the following environment-variables in the `environment:` section of the
|
||||
docker-compose file.
|
||||
|
||||
| Name | Usage | Default |
|
||||
| --------------------- | ------------------------- | ----------------------- |
|
||||
| `SYNAPSE_CONFIG_DIR` | config directory | `/data` |
|
||||
| `SYNAPSE_CONFIG_PATH` | config path | `/data/homeserver.yaml` |
|
||||
| `UID` | user id for synapse user | `1000` |
|
||||
| `GID` | group id for synapse user | `1000` |
|
||||
| `TZ` | specify the timezone | `Europe/London` |
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes in the `volumes:` section of the docker-compose file.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | --------------- | --------------------------------- |
|
||||
| `synapse` | `/data` | directory for storage and configs |
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports in the `ports:` section.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ---------------------- |
|
||||
| `8008` | `443` | TCP | matrix homeserver port |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```shell
|
||||
#!/bin/sh
|
||||
docker-compose down
|
||||
docker pull matrixdotorg/synapse:latest
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yml
|
||||
|
||||
services:
|
||||
synapse:
|
||||
image: "matrixdotorg/synapse:latest"
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
SYNAPSE_CONFIG_DIR: "/data"
|
||||
SYNAPSE_CONFIG_PATH: "/data/homeserver.yaml"
|
||||
UID: "1000"
|
||||
GID: "1000"
|
||||
TZ: "Europe/London"
|
||||
volumes:
|
||||
- synapse:/data
|
||||
|
||||
volumes:
|
||||
synapse:
|
||||
driver: local
|
||||
```
|
@ -0,0 +1,50 @@
|
||||
# nginx
|
||||
|
||||
The official container and documentation was made by
|
||||
[nginx](https://hub.docker.com/_/nginx).
|
||||
This docker-rebuild is made up by a `docker-compose.yml` file.
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes in the `volumes:` section of the docker-compose file.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | -------------------- | --------------------------- |
|
||||
| `nginx` | `/etc/nginx/conf.d/` | directory for nginx configs |
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports in the `ports:` section.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| `80` | `80` | TCP | http port |
|
||||
| `443` | `443` | TCP | https port |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```shell
|
||||
#!/bin/sh
|
||||
docker-compose down
|
||||
docker pull nginx:latest
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yml
|
||||
version: "2"
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- nginx:/etc/nginx/conf.d/
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
||||
volumes:
|
||||
nginx:
|
||||
driver: local
|
||||
```
|
@ -0,0 +1,44 @@
|
||||
# vectorim - riot-web
|
||||
|
||||
The official container and documentation was made by
|
||||
[linuxserver](https://hub.docker.com/vectorim/riot-web).
|
||||
This docker-rebuild is made up by a `docker-compose.yml` file.
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes in the `volumes:` section of the docker-compose file.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | --------------------- | ----------- |
|
||||
| `./config.json` | `/app/config.json:ro` | config file |
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports in the `ports:` section.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| `80` | `80` | TCP | WebUI |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```shell
|
||||
#!/bin/sh
|
||||
docker-compose down
|
||||
docker pull vectorim/riot-web:latest
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yml
|
||||
version: "2"
|
||||
services:
|
||||
element:
|
||||
image: vectorim/riot-web:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "./data/matrix/element/config.json:/app/config.json:ro"
|
||||
ports:
|
||||
- 80:80
|
||||
```
|
Loading…
Reference in new issue