partially make other docker compose files consistent
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
37b6c1e7f7
commit
c8289f0886
4 changed files with 14 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Conduit - Behind Traefik Reverse Proxy
|
# Conduit - Behind Traefik Reverse Proxy
|
||||||
version: '3'
|
version: '2.4' # uses '2.4' for cpuset
|
||||||
|
|
||||||
services:
|
services:
|
||||||
homeserver:
|
homeserver:
|
||||||
|
@ -18,12 +18,13 @@ services:
|
||||||
# GIT_REF: origin/master
|
# GIT_REF: origin/master
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/matrix-conduit/
|
- db:/var/lib/matrix-conduit
|
||||||
|
#- ./conduwuit.toml:/etc/conduit.toml
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
CONDUIT_SERVER_NAME: your.server.name # EDIT THIS
|
CONDUIT_SERVER_NAME: your.server.name # EDIT THIS
|
||||||
CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit/
|
CONDUIT_DATABASE_PATH: /var/lib/matrix-conduit
|
||||||
CONDUIT_DATABASE_BACKEND: rocksdb
|
CONDUIT_DATABASE_BACKEND: rocksdb
|
||||||
CONDUIT_PORT: 6167
|
CONDUIT_PORT: 6167
|
||||||
CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
|
CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
|
||||||
|
@ -34,7 +35,8 @@ services:
|
||||||
#CONDUIT_MAX_CONCURRENT_REQUESTS: 100
|
#CONDUIT_MAX_CONCURRENT_REQUESTS: 100
|
||||||
#CONDUIT_LOG: warn,state_res=warn
|
#CONDUIT_LOG: warn,state_res=warn
|
||||||
CONDUIT_ADDRESS: 0.0.0.0
|
CONDUIT_ADDRESS: 0.0.0.0
|
||||||
CONDUIT_CONFIG: '' # Ignore this
|
#CONDUIT_CONFIG: './conduwuit.toml' # Uncomment if you mapped config toml above
|
||||||
|
#cpuset: "0-4" # Uncomment to limit to specific CPU cores
|
||||||
|
|
||||||
# We need some way to server the client and server .well-known json. The simplest way is to use a nginx container
|
# We need some way to server the client and server .well-known json. The simplest way is to use a nginx container
|
||||||
# to serve those two as static files. If you want to use a different way, delete or comment the below service, here
|
# to serve those two as static files. If you want to use a different way, delete or comment the below service, here
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Conduit - Traefik Reverse Proxy Labels
|
# Conduit - Traefik Reverse Proxy Labels
|
||||||
version: '3'
|
version: '2.4' # uses '2.4' for cpuset
|
||||||
|
|
||||||
services:
|
services:
|
||||||
homeserver:
|
homeserver:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Conduit - Behind Traefik Reverse Proxy
|
# Conduit - Behind Traefik Reverse Proxy
|
||||||
version: '3'
|
version: '2.4' # uses '2.4' for cpuset
|
||||||
|
|
||||||
services:
|
services:
|
||||||
homeserver:
|
homeserver:
|
||||||
|
@ -19,19 +19,17 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- db:/srv/conduit/.local/share/conduit
|
- db:/srv/conduit/.local/share/conduit
|
||||||
### Uncomment if you want to use conduit.toml to configure Conduit
|
#- ./conduwuit.toml:/etc/conduit.toml
|
||||||
### Note: Set env vars will override conduit.toml values
|
|
||||||
# - ./conduit.toml:/srv/conduit/conduit.toml
|
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
CONDUIT_SERVER_NAME: localhost:6167 # replace with your own name
|
CONDUIT_SERVER_NAME: your.server.name # EDIT THIS
|
||||||
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
|
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'
|
||||||
CONDUIT_ALLOW_REGISTRATION : 'true'
|
CONDUIT_ALLOW_REGISTRATION : 'true'
|
||||||
|
#CONDUIT_CONFIG: './conduwuit.toml' # Uncomment if you mapped config toml above
|
||||||
### Uncomment and change values as desired
|
### Uncomment and change values as desired
|
||||||
# CONDUIT_ADDRESS: 0.0.0.0
|
# 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 ''
|
|
||||||
# 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
|
||||||
# CONDUIT_LOG: info # default is: "warn,state_res=warn"
|
# CONDUIT_LOG: info # default is: "warn,state_res=warn"
|
||||||
# CONDUIT_ALLOW_JAEGER: 'false'
|
# CONDUIT_ALLOW_JAEGER: 'false'
|
||||||
|
@ -41,6 +39,7 @@ services:
|
||||||
# CONDUIT_DATABASE_PATH: /srv/conduit/.local/share/conduit
|
# CONDUIT_DATABASE_PATH: /srv/conduit/.local/share/conduit
|
||||||
# CONDUIT_WORKERS: 10
|
# CONDUIT_WORKERS: 10
|
||||||
# CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
|
# CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
|
||||||
|
#cpuset: "0-4" # Uncomment to limit to specific CPU cores
|
||||||
|
|
||||||
# We need some way to server the client and server .well-known json. The simplest way is to use a nginx container
|
# We need some way to server the client and server .well-known json. The simplest way is to use a nginx container
|
||||||
# to serve those two as static files. If you want to use a different way, delete or comment the below service, here
|
# to serve those two as static files. If you want to use a different way, delete or comment the below service, here
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Conduit
|
# Conduit
|
||||||
version: '2.4'
|
version: '2.4' # uses '2.4' for cpuset
|
||||||
|
|
||||||
services:
|
services:
|
||||||
homeserver:
|
homeserver:
|
||||||
|
@ -35,7 +35,7 @@ services:
|
||||||
#CONDUIT_MAX_CONCURRENT_REQUESTS: 400
|
#CONDUIT_MAX_CONCURRENT_REQUESTS: 400
|
||||||
#CONDUIT_LOG: warn,state_res=warn
|
#CONDUIT_LOG: warn,state_res=warn
|
||||||
CONDUIT_ADDRESS: 0.0.0.0
|
CONDUIT_ADDRESS: 0.0.0.0
|
||||||
CONDUIT_CONFIG: '' # Leave blank unless you mapped config toml above
|
#CONDUIT_CONFIG: './conduwuit.toml' # Uncomment if you mapped config toml above
|
||||||
#cpuset: "0-4" # Uncomment to limit to specific CPU cores
|
#cpuset: "0-4" # Uncomment to limit to specific CPU cores
|
||||||
#
|
#
|
||||||
### Uncomment if you want to use your own Element-Web App.
|
### Uncomment if you want to use your own Element-Web App.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue