You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix Bulk Publish function
Changes to be committed:
modified: api/scripts/method_specific/POST_api_objects_publish.py
modified: api/scripts/utilities/JsonUtils.py
* Changed for Dockerizing
Changes to be committed:
modified: Dockerfile
modified: README.md
modified: authentication/apis.py
modified: search/selectors.py
modified: server.conf
* Update platform in `docker-compose.yml`
* updates for FDA deployment
Changes to be committed:
modified: Dockerfile
modified: docker-compose.yml
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,14 @@ This will build a container named `bco_api` with the tag `latest`.
61
61
62
62
### Running the container via Docker
63
63
64
-
The BCO Api container can be run via docker on the command line by running:
64
+
The BCO Api container can be run via docker on the command line in linux by running:
65
65
66
66
`docker run --rm --network host -it bco_api:latest`
67
67
68
+
The BCO Api container can be run via docker on the command line in MacOS by running:
69
+
70
+
`docker run --rm -p 8000:8000 -it bco_api:latest`
71
+
68
72
This will expose the server at `http://127.0.0.1:8000`.
69
73
70
74
#### Overriding the port
@@ -73,6 +77,7 @@ It is possible to override the port 8000 to whatever port is desired. This is d
73
77
74
78
`docker run --rm --network host -it bco_api:latest 0.0.0.0:8080`
75
79
80
+
76
81
NOTE: The ip address of 0.0.0.0 is to allow the web serer to properly associate with 127.0.0.1 - if given 127.0.0.1 it will not allow communications outside of the container!
77
82
78
83
With 8080 representing the desired port. You can also give it a specific network created with `docker network create` if you wanted to give assigned IP addresses.
0 commit comments