Update 'README.md'

llm-extraction
Will King 3 years ago
parent 39397cc224
commit ed49d8728a

@ -74,19 +74,18 @@ What this means in regards to this project is that docker makes it
easy to setup containers. easy to setup containers.
Install docker based on instructions for your linux distribution. Install docker based on instructions for your linux distribution.
I use podman (an alternative from RedHat) because it allows for running without root permissions.
### Docker networking ### Docker networking
I have the docker container for the database attached to a It is helpful to construct an external docker network by running
network called "pharmaceutical_research" because I have a
container with pgadmin4 running on that docker network.
This can be adjusted in the dockerfile.
I also have the database container open on port 5432, the typical `docker network create network_name`
postgresql database port.
### Database logins and then including that network in the docker-compose.yaml
I have choosen the database user of *root* with a password of *root*
because I don't really need this database to be secure. # Environment Variables (`.env` file)
I use an single .env file to setup the docker containers and pass configuration variables to
the python scripts. I would suggest changing the default values in `sample.env` to match your needs.
If you do need to think about the security of your database I would recommend If you do need to think about the security of your database I would recommend
you start by changing these. you start by changing these.

Loading…
Cancel
Save