|
|
|
@ -3,19 +3,19 @@ version: '3' |
|
|
|
|
|
|
|
|
|
|
|
services: |
|
|
|
services: |
|
|
|
homeserver: |
|
|
|
homeserver: |
|
|
|
### If you already built the Conduit image with 'docker build' or want to use the Docker Hub image, |
|
|
|
### If you already built the Conduit image with 'docker build' or want to use a registry image, |
|
|
|
### then you are ready to go. |
|
|
|
### then you are ready to go. |
|
|
|
#image: matrixconduit/matrix-conduit:latest |
|
|
|
image: matrixconduit/matrix-conduit:latest |
|
|
|
### If you want to build a fresh image from the sources, then comment the image line and uncomment the |
|
|
|
### If you want to build a fresh image from the sources, then comment the image line and uncomment the |
|
|
|
### build lines. If you want meaningful labels in your built Conduit image, you should run docker-compose like this: |
|
|
|
### build lines. If you want meaningful labels in your built Conduit image, you should run docker-compose like this: |
|
|
|
### CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ') VERSION=$(grep -m1 -o '[0-9].[0-9].[0-9]' Cargo.toml) docker-compose up -d |
|
|
|
### CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ') VERSION=$(grep -m1 -o '[0-9].[0-9].[0-9]' Cargo.toml) docker-compose up -d |
|
|
|
build: |
|
|
|
# build: |
|
|
|
context: . |
|
|
|
# context: . |
|
|
|
args: |
|
|
|
# args: |
|
|
|
CREATED: '2021-03-16T08:18:27Z' |
|
|
|
# CREATED: '2021-03-16T08:18:27Z' |
|
|
|
VERSION: '0.1.0' |
|
|
|
# VERSION: '0.1.0' |
|
|
|
LOCAL: 'false' |
|
|
|
# LOCAL: 'false' |
|
|
|
GIT_REF: origin/master |
|
|
|
# GIT_REF: origin/master |
|
|
|
restart: unless-stopped |
|
|
|
restart: unless-stopped |
|
|
|
ports: |
|
|
|
ports: |
|
|
|
- 8448:6167 |
|
|
|
- 8448:6167 |
|
|
|
@ -28,7 +28,7 @@ services: |
|
|
|
CONDUIT_SERVER_NAME: localhost:6167 # replace with your own name |
|
|
|
CONDUIT_SERVER_NAME: localhost:6167 # replace with your own name |
|
|
|
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]' |
|
|
|
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]' |
|
|
|
### Uncomment and change values as desired |
|
|
|
### Uncomment and change values as desired |
|
|
|
# CONDUIT_ADDRESS: 127.0.0.1 |
|
|
|
# CONDUIT_ADDRESS: 0.0.0.0 |
|
|
|
# CONDUIT_PORT: 6167 |
|
|
|
# CONDUIT_PORT: 6167 |
|
|
|
# CONDUIT_CONFIG: '/srv/conduit/conduit.toml' # if you want to configure purely by env vars, set this to an empty string '' |
|
|
|
# CONDUIT_CONFIG: '/srv/conduit/conduit.toml' # if you want to configure purely by env vars, set this to an empty string '' |
|
|
|
# Available levels are: error, warn, info, debug, trace - more info at: https://docs.rs/env_logger/*/env_logger/#enabling-logging |
|
|
|
# Available levels are: error, warn, info, debug, trace - more info at: https://docs.rs/env_logger/*/env_logger/#enabling-logging |
|
|
|
|