[FOLIO-1993] add Dockerfile to platform-complete Created: 02/May/19 Updated: 03/Jun/20 Resolved: 17/May/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Jakub Skoczen | Assignee: | Ian Hardy |
| Resolution: | Done | Votes: | 0 |
| Labels: | platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||
| Sprint: | CP: sprint 63 | ||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||
| Description |
|
In order to be able to server the bundle in a container. The container will include a basic image with an nginx. The docker image for each platform release should be published to the docker hub. This includes the hardcoded Okapi URL and Tenant ID. A story to make those settings configurable: TODO |
| Comments |
| Comment by Ian Hardy [ 15/May/19 ] |
|
Adding Dockerfile similar to jroot's that allows configuring Okapi URL and tenant at build time by passing build-args. Without being able to configure stripes at runtime, distributing containers through Dockerhub is of limited use. Some possibilities to set Okapi URL at run time without rebuilding stripes are editing the static files, or proxying okapi in the same nginx instance (would only have to configure proxy_pass address to change okapi backend). |