2020-07-23 21:58:08 +00:00
|
|
|
# Conduit
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
2020-08-02 10:58:52 +00:00
|
|
|
homeserver:
|
2020-07-23 21:58:08 +00:00
|
|
|
image: conduit_homeserver
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2020-08-02 10:58:52 +00:00
|
|
|
- 14004:8000
|
2020-07-23 21:58:08 +00:00
|
|
|
volumes:
|
2020-08-01 13:18:49 +00:00
|
|
|
- db:/srv/conduit/.local/share/conduit
|
2020-08-02 10:58:52 +00:00
|
|
|
### Uncomment if you want to use Rocket.toml to configure Conduit
|
|
|
|
### Note: Set env vars will override Rocket.toml values
|
|
|
|
# - ./Rocket.toml:/srv/conduit/Rocket.toml
|
2020-07-23 21:58:08 +00:00
|
|
|
environment:
|
2020-08-02 10:58:52 +00:00
|
|
|
ROCKET_SERVER_NAME: localhost:8000 # replace with your own name
|
|
|
|
### Uncomment and change values as desired
|
|
|
|
# ROCKET_LOG: normal # Available levels are: off, debug, normal, critical
|
2020-08-01 16:20:30 +00:00
|
|
|
# ROCKET_PORT: 14004
|
|
|
|
# ROCKET_REGISTRATION_DISABLED: 'true'
|
|
|
|
# ROCKET_ENCRYPTION_DISABLED: 'true'
|
|
|
|
# ROCKET_DATABASE_PATH: /srv/conduit/.local/share/conduit
|
|
|
|
# ROCKET_WORKERS: 10
|
|
|
|
# ROCKET_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
|
2020-07-23 21:58:08 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|