Commit graph

14 commits

Author SHA1 Message Date
Andrew Pennington
ec158c0cdf
Added automatic docker build on merge to master
This PR includes:
- Automatic build & push to docker hub when pushing to master, or when triggering a workflow dispatch on master
- Automatic docker build on pull requests to validate changes
- Updated the docker-compose.yaml to use the container images, rather than building locally
- Added support for defining backend settings using the container environment 
  -> All options defined in config.toml can now be loaded instead from the environment
  -> Order of precedence is environment definition, config.toml, and finally default inline configuration defined in config.ts
- Added support for defining frontend settings using the container environment
  -> Added a dynamic api route to load the container environment definitions on the server, and provide them to the client
  -> Added a library function to fetch from the newly created API, caching the response in the session storage
  -> Modified existing calls to `process.env` to use the new library function
  -> Left the initial statically compiled environment definitions in place as a backup definition, if no environment definitions are provided

Remaining tasks todo before able to merge to [ItzCrazyKns/Perplexica](https://github.com/ItzCrazyKns/Perplexica):
- Add secret definitions for `DOCKER_USERNAME` and `DOCKER_PASSWORD` to [ItzCrazyKns/Perplexica](https://github.com/ItzCrazyKns/Perplexica) to ensure push to dockerhub works on base branch
- Update documentation with information about changes
2024-08-21 00:40:34 +01:00
ItzCrazyKns
799f4d6aee
feat(docker-compose): implement data volume 2024-06-29 11:10:26 +05:30
ItzCrazyKns
8e18c32e23
Merge branch 'pr/137' 2024-06-01 10:52:34 +05:30
ItzCrazyKns
5f6e61d7a0
feat(docker-compose): remove extra hosts from frontend 2024-06-01 10:51:56 +05:30
Chuck
f4628ae52d feat(docker-compose): update docker-compose.yaml with restart policy 2024-05-30 18:12:22 +08:00
Devin Stokes
382fa295e5 fix: add extra_hosts to docker-compose.yaml to allow connection to ollama 2024-05-24 08:19:15 -07:00
ItzCrazyKns
0993c5a760
feat(app): revert port & network changes 2024-05-13 19:58:17 +05:30
ItzCrazyKns
100872f2d9
feat(docker-compose): revert network changes 2024-05-12 14:04:05 +05:30
ItzCrazyKns
b622df5a9f
feat(docker-compose): update ports, change network type 2024-05-12 12:16:08 +05:30
ItzCrazyKns
7eace1e6bd
feat(searxng-container): bind mount & add limiter 2024-05-10 20:55:08 +05:30
ItzCrazyKns
9a7af945b0
lint 2024-05-09 20:43:04 +05:30
ItzCrazyKns
e042ff491b
feat(compose): remove expose directive 2024-05-07 19:39:59 +05:30
ItzCrazyKns
99ae8f6998
feat(agents): embed docs & query together
Embed documents and query together to reduce the time taken for retrieving the sources ~1 seconds.
2024-04-24 10:08:40 +05:30
ItzCrazyKns
d1c74c861e
Initial commit 2024-04-09 16:21:05 +05:30