Docker documentation uses wrong db volume path #205

Closed
opened 2021-12-29 22:14:44 +00:00 by paulvt · 5 comments
paulvt commented 2021-12-29 22:14:44 +00:00 (Migrated from gitlab.com)

The Docker documentation suggests a command-line that mounts the DB path at /srv/conduit/.local/share/conduit.
However, the default/example conduit.toml uses /var/lib/conduit. This is confusing to users that try to set up Conduit via Docker.

The [Docker documentation](docker/README.md) suggests a command-line that mounts the DB path at `/srv/conduit/.local/share/conduit`. However, the default/example [`conduit.toml`](conduit-example.toml) uses `/var/lib/conduit`. This is confusing to users that try to set up Conduit via Docker.
bigjdunham commented 2022-01-06 07:26:14 +00:00 (Migrated from gitlab.com)

Yes and the example docker-compose yamls refer the same path, which is also not synced with the conduit.toml

Yes and the example docker-compose yamls refer the same path, which is also not synced with the conduit.toml
paulvt commented 2022-01-07 12:35:17 +00:00 (Migrated from gitlab.com)

mentioned in issue #210

mentioned in issue #210
shoulder_exchange commented 2022-01-25 04:02:04 +00:00 (Migrated from gitlab.com)

It may undesirably broaden the scope, but for those of us unfamiliar with Traefik it might be worthwhile to reference the minimum expectations of the Traefik deployment to get this up and running. A link to an external resource that is more than "first, learn about Traefik, then..." would also be welcome. Trying Traefik for the first time, I can't get the nginx container publicly serving the well-known files for a reason I'm not sure of, and that seems like it's the boring part of the deployment.

If I had a magic wand, I'd love for documentation to explicitly call out the input (homeserver name and host name?) as well as the major versions of any technologies (Traefik 2 seems different than Traefik 1) and with those values filled out be able to have an opinionated 1-step deployment of Conduit. It's great that there's documentation for different options (e.g. DEPLOY.md references Apache and nginx as reverse proxies, docker seems to suggest Traefik), if I want to get Conduit running as quickly as possible it's nice to have a tl;dr: option.

It looks like documentation is mentioned in a few different tickets, I volunteer as guinea pig for docker-compose based deployments. In the mean time, I'll try and figure out what I'm missing to get it working for me now.

It may undesirably broaden the scope, but for those of us unfamiliar with Traefik it might be worthwhile to reference the minimum expectations of the Traefik deployment to get this up and running. A link to an external resource that is more than "first, learn about Traefik, then..." would also be welcome. Trying Traefik for the first time, I can't get the nginx container publicly serving the well-known files for a reason I'm not sure of, and that seems like it's the boring part of the deployment. If I had a magic wand, I'd love for documentation to explicitly call out the input (homeserver name and host name?) as well as the major versions of any technologies (Traefik 2 seems different than Traefik 1) and with those values filled out be able to have an opinionated 1-step deployment of Conduit. It's great that there's documentation for different options (e.g. [DEPLOY.md](https://gitlab.com/famedly/conduit/-/blob/next/DEPLOY.md) references Apache and nginx as reverse proxies, [docker](https://gitlab.com/famedly/conduit/-/tree/next/docker) seems to suggest Traefik), if I want to get Conduit running as quickly as possible it's nice to have a _tl;dr:_ option. It looks like documentation is mentioned in a few different tickets, I volunteer as guinea pig for `docker-compose` based deployments. In the mean time, I'll try and figure out what I'm missing to get it working for me now.
jfowl commented 2022-02-18 13:04:02 +00:00 (Migrated from gitlab.com)

mentioned in merge request !301

mentioned in merge request !301
jfowl commented 2022-02-20 10:59:57 +00:00 (Migrated from gitlab.com)

mentioned in commit 237645e975

mentioned in commit 237645e975dbb6ac4b2b0e4afa1f645465d37393
Sign in to join this conversation.
No labels
Android
CS::needs customer feedback
CS::needs follow up
CS::needs on prem installation
CS::waiting
Chrome
Design:: Ready
Design:: in progress
Design::UX
E2EE
Edge
Firefox
GDPR
Iteration 13 IM
Linux
MacOS
Need::Discussion
Need::Steps to reproduce
Need::Upstream fix
Needs:: Planning
Needs::Dev-Team
Needs::More information
Needs::Priority
Needs::Product
Needs::Refinement
Needs::Severity
Priority::1-Critical
Priority::2-Max
Priority::3-Impending
Priority::4-High
Priority::5-Medium
Priority::6-Low
Priority::7-None
Progress::Backlog
Progress::Review
Progress::Started
Progress::Testing
Progress::Triage
Progress::Waiting
Reporter::Sentry
Safari
Target::Community
Target::Customer
Target::Internal
Target::PoC
Target::Security
Team:Customer-Success
Team:Design
Team:Infrastructure
Team:Instant-Messaging
Team:Product
Team:Workflows
Type::Bug
Type::Design
Type::Documentation
Type::Feature
Type::Improvement
Type::Support
Type::Tests
Windows
blocked
blocked-by-spec
cla-signed
conduit
contribution::advanced
contribution::easy
contribution::help needed
from::review
iOS
p::ti-tenant
performance
product::triage
proposal
refactor
release-blocker
s: dart_openapi_codegen
s::Famedly-Patient
s::Org-Directory
s::Passport-Generator
s::Requeuest
s:CRM
s:Famedly-App
s:Famedly-Web
s:Fhiroxide
s:Fhiroxide-cli
s:Fhiroxide-client
s:Fhirs
s:Hedwig
s:LISA
s:Matrix-Dart-SDK
s:Role-Manager
s:Synapse
s:User-Directory
s:WFS-Matrix
s:Workflow Engine
s:dtls
s:famedly-error
s:fcm-shared-isolate
s:matrix-api-lite
s:multiple-tab-detector
s:native-imaging
severity::1
severity::2
severity::3
severity::4
technical-debt
voip
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Matthias/conduit#205
No description provided.