Skip to content
Snippets Groups Projects
README.md 653 B
Newer Older
  • Learn to ignore specific revisions
  • FORESTIER Fabien's avatar
    FORESTIER Fabien committed
    # Authorization and cache proxy for elasticsearch
    
    ## Installation
    
    This proxy is based on an [openresty](https://hub.docker.com/r/openresty/openresty/) image.
    
    ## Environment variables
    
    In order to run the code, some environment variables are needed. They are specified in the `template.env` file at the root of the project.
    
    For a local deployment:
    
    1. `cp template.env .env`
    2. Edit .env according to the chosen configuration
    
    The values will be read from the file by default when running with docker.
    
    ## Running the proxy
    
    ```bash
    # build
    docker-compose build
    
    # deploy
    docker-compose up [-d]
    
    # build and deploy
    docker-compose up --build [-d]
    ```