Skip to content
Snippets Groups Projects
  1. Nov 23, 2023
  2. Nov 22, 2023
  3. Aug 03, 2021
  4. Dec 21, 2020
  5. Oct 31, 2020
  6. Feb 06, 2020
  7. Oct 22, 2019
    • JohanBaskovec's avatar
      Fix error when running `make` / `docker-compose up` · 010f56ac
      JohanBaskovec authored
      This fixes an error when running the mobilizon_api container (either
      with `make` or `docker-compose up`): the command `mix phx.server`
      was run first in the mobilizon_api container, but it
      made the container restart every ~10 seconds because of missing
      dependencies errors. As a result it became impossible to install
      the depencies using
      `docker-compose exec api sh -c "cd js && yarn install && cd ../"`,
      because that would give this error:
      `Error response from daemon: Container
      8ff288ad74565bb0773f9b5f8fb39ab62925c16ea0ca77c5d2579cc3013a8464 is
      restarting, wait until the container is running`.
      
      This commit fixes this error by running the dependency installation
      commands (and compilation and db migration) before `mix phx.server`.
      010f56ac
  8. Oct 16, 2019
  9. Oct 08, 2019
  10. Apr 30, 2019
  11. Apr 18, 2019
  12. Apr 17, 2019
  13. Jan 03, 2019
  14. Dec 17, 2018
  15. Oct 11, 2018
  16. Jul 25, 2018
Loading