mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-18 04:13:10 -06:00
| .. | ||
| client-api-proxy.Dockerfile | ||
| dendrite-appservice-server.Dockerfile | ||
| dendrite-client-api-server.Dockerfile | ||
| dendrite-federation-api-server.Dockerfile | ||
| dendrite-federation-sender-server.Dockerfile | ||
| dendrite-media-api-server.Dockerfile | ||
| dendrite-public-rooms-api-server.Dockerfile | ||
| dendrite-room-server.Dockerfile | ||
| dendrite-sync-api-server.Dockerfile | ||
| dendrite-typing-server.Dockerfile | ||
| Dockerfile | ||
| federation-api-proxy.Dockerfile | ||
| readme.md | ||
Docker Images
Build
The main Dockerfile builds installs all go modules and builds all the go binaries in golang:1.12.9, and should be tagged dendrite:latest. This tag is ensures that it cannot be pushed, and a CI/CD server should not have it cached.
All the other containers are generated from the binaries built in the first container. It copies the binary from dendrite:latest to the root of alpine:3.10.
Usage
Environment Variables
# bind-address arg to client-api-proxy
client-bind-address
# bind-address arg to federation-api-proxy
federation-bind-address
client-api-server-url
sync-api-server-url
media-api-server-url
public-rooms-api-server-url
federation-api-url
config