mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
# awesometechnologies - synapse-admin
|
|
|
|
This is a [Docker](/wiki/docker.md) container for a Synapse server of [Matrix](../matrix.md).
|
|
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.
|
|
|
|
## Set-up
|
|
|
|
Create the files `rebuild.sh` and `docker-compose.yml` at the same place.
|
|
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
|
|
|
## Ports
|
|
|
|
Set the following ports in the `ports:` section.
|
|
|
|
| Container Port | Recommended outside port | Protocol | Description |
|
|
| -------------- | ------------------------ | -------- | ----------- |
|
|
| `80` | `80` | TCP | WebUI |
|
|
|
|
## rebuild.sh
|
|
|
|
```sh
|
|
#!/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
|
|
```
|