2020-07-23 23:58:08 +02:00
|
|
|
# Conduit
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
2020-08-02 12:58:52 +02:00
|
|
|
homeserver:
|
2020-07-23 23:58:08 +02:00
|
|
|
image: conduit_homeserver
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2020-08-02 12:58:52 +02:00
|
|
|
- 14004:8000
|
2020-07-23 23:58:08 +02:00
|
|
|
volumes:
|
2020-08-01 15:18:49 +02:00
|
|
|
- db:/srv/conduit/.local/share/conduit
|
2020-08-02 12:58:52 +02: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 23:58:08 +02:00
|
|
|
environment:
|
2020-08-02 12:58:52 +02: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 18:20:30 +02: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 23:58:08 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|