Comments (7)
"
SSL_CERT_FILE: "/opt/fhir-pseudonymizer/certs/nginx-selfsigned.crt"
SSL_KEY_FILE: "/opt/fhir-pseudonymizer/certs/nginx-selfsigned.key"
volumes:
- "./anonymization.yaml:/opt/fhir-pseudonymizer/anonymization.yaml:ro"
- "./certs/nginx-selfsigned.crt:/opt/fhir-pseudonymizer/certs/nginx-selfsigned.crt:ro"
- "./certs/nginx-selfsigned.key:/opt/fhir-pseudonymizer/certs/nginx-selfsigned.key:ro"
"
using opt instead of /etc/, then, it works.
from fhir-pseudonymizer.
Not sure the mem_limit is still used in current compose versions. It should use the deploy: section instead: https://docs.docker.com/compose/compose-file/deploy/#memory - you can check whether the limits were set using docker stats. If your machine has a lot of CPUs, you might want to limit the available CPUs as well: each one increases the size of required memory by the application.
Can you share the details of where you're running the container if the above doesn't help. Docker version, os version, amount of ram and CPU.
from fhir-pseudonymizer.
Docker version 24.0.6, build ed223bc
OS Information | linux x86_64 Ubuntu 22.04.3 LTS
Total CPU | 4
Total memory | 16.7 GB
Based on the Docker documentation, I made some modifications:
deploy:
resources:
limits:
cpus: '0.5'
memory: 4g
pids: 1
reservations:
cpus: '0.5'
memory: 4g
from fhir-pseudonymizer.
Thats a strange issue. The setup looks fine.
It definitely wont with with pids limited to 1, in that case the error should be "0x80070008". Can you try removing the PID limitation and starting it again?
If that doesn't work, can you try launching an unmodified compose, the example one in https://github.com/miracum/fhir-pseudonymizer/blob/master/compose/compose.yaml. E.g. from the repository root, run:
docker compose -f compose/compose.yaml up
from fhir-pseudonymizer.
Removing pids doesn't resolve the issue, good News is that it can be initiated with an unmodified compose.
seems the problem of gPAS and SSL (negix-self signed-cert).
from fhir-pseudonymizer.
Hi,
from our site, we have the same issue. Although moving the anonymization.yaml didn't do anything for us.
However, what worked for us, was setting the environment var DOTNET_EnableDiagnostics: "0"
based on here: https://stackoverflow.com/questions/76383522/asp-net-core-7-0-container-failed-to-create-coreclr-hresult-0x8007000e
If I don't set that var, the container immediatly stop with the same error message in this issue.
The server itself has enough RAM (16GB) and i didn't specify the available RAM for the container.
from fhir-pseudonymizer.
Thanks for sharing! Seems to very environment specific, but glad that worked. There's also an "official " compose sample which sets that env var as well in order to run on a read-only filesystem: https://github.com/miracum/fhir-pseudonymizer/blob/master/compose/compose.yaml
from fhir-pseudonymizer.
Related Issues (10)
- Include Bundle size as a histogram metric HOT 1
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- Breaking changes in gPAS 1.11.0 (and maybe earlier) HOT 5
- Conditional references
- BUG: Interpreation of URL with missing tailing /
- The automated release is failing 🚨
- Crypto hashing a literal reference uri node HOT 2
- Plans for the next major release (v3) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhir-pseudonymizer.