-
Notifications
You must be signed in to change notification settings - Fork 17
chore: update dependencies #40
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
base: master
Are you sure you want to change the base?
Conversation
|
@melton-jason Can you provide an example of how to network a local Specify instance to this server? As discussed, not having luck connecting them |
acwhite211
left a comment
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.
Didn't run into any problems with any of the asset server operations.
Here's the steps you can take to get the networking up and running with two approaches using minimal configuration changes Change the Build Context of the Asset Server containerIf you're using the Specify 7 development docker-compose.yml or some variation of an all-in-one deployment (where the asset-server service is in the same compose/network as your Specify 7 and NGINX services).
For example, here was my asset-server service: asset-server:
container_name: asset-server
# image: specifyconsortium/specify-asset-service
build:
context: /Users/j626m671/Desktop/web-asset-server/.
init: true
volumes:
- "attachments:/home/specify/attachments"
environment:
- SERVER_NAME=host.docker.internal
- SERVER_PORT=80
- ATTACHMENT_KEY=your_asset_server_access_key
- DEBUG_MODE=trueBuild the Asset Server image locally
For example, after executing a asset-server:
container_name: asset-server
image: updated-asset-server
init: true
volumes:
- "attachments:/home/specify/attachments"
environment:
- SERVER_NAME=host.docker.internal
- SERVER_PORT=80
- ATTACHMENT_KEY=your_asset_server_access_key
- DEBUG_MODE=trueIf you would like, there are other approaches to handle networking, but they can become vastly more complicated (and probably unnecessary for testing development changes).
I pushed some changes to this branch which add some comments to the docker-compose.yml, feel free to give them a look! |
Fixes #34, #26
Might fix #9 (included in testing instructions. I did my own testing and did not run into any errors: it would appear that ImageMagick fixed their default
policy.xml).Includes required packages for #38 (see related #36)
This PR seeks to:
docker-compose.ymlA list of updated and installed software for this PR is provided below:
Testing Instructions: