-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add sql-query test environment documentation #43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙂
volumes: | ||
- ~/docker-volumes/aam-digital/sqs/data:/data | ||
environment: | ||
SQS_COUCHDB_URL: http://db-couch:5984 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couldn't this somehow support a public url like dev.aam-digital.com/db/couchdb?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theoretically yes, but you will need the credentials for the couchdb instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if so, maybe we can add this as an option to the docs? Seems easier for query testing than mirroring the db locally (which also requires the admin password or full server access)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i'm already on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, it's complicated. Looks like the proxy in front of the CouchDB is making trouble...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you trying at /db
or directly to couch at db/couchdb
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/db/couchdb
- idk why its not working. Just getting some Internal Server Error from SQS, no more information
|
||
### Using existing Database | ||
|
||
If you have a copy from an existing database, stop the couchdb container and just copy all files from the `couchdb/data` directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will only help people who have access to a specific server. Did you try to use the sync UI of CouchDB Fauxton? This sometimes worked for me, sometimes I didn't get it to run 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct, i never used the sync ui for that... but it could work.
Co-authored-by: Sebastian <[email protected]>
Co-authored-by: Sebastian <[email protected]>
No description provided.