Installation for S&D
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
865 B

  1. # A docker container configuration for search and displace
  2. ### Initialization steps
  3. 1. Initialize the repositories
  4. ```
  5. git submodule init
  6. git submodule update
  7. ```
  8. 2. Copy *.env.example* renaming it to *.env*
  9. ```
  10. cp searchanddisplace-core/.env.example searchanddisplace-core/.env
  11. cp searchanddisplace-ingest/.env.example searchanddisplace-ingest/.env
  12. ```
  13. 3. Manually configure the two environment files from the **searchanddisplace-core** and **searchanddisplace-ingest** folders
  14. - REDIS_HOST: search-and-display-redis
  15. - SD_INGEST_URL: http://search-and-display-ingest
  16. - WEBHOOK_CORE_URL=http://search-and-display-core
  17. 4. How to upgrade?
  18. ```
  19. git -C searchanddisplace-core checkout master && \
  20. git -C searchanddisplace-ingest checkout master && \
  21. git -C searchanddisplace-core pull && \
  22. git -C searchanddisplace-ingest pull && \
  23. docker-compose up -d --build
  24. ```