pia-docker
pia-docker copied to clipboard
Issue "Production" mode
Hello, We have installed PIA-Docker and we have a problem with the installation. If we use "RAILS_ENV test", everything works but with "RAILS_ENV production" we can't connect the Frontend and the Backend. The database seems unavailable. Do you know if another configuration is required to work in "Production" mode
Best regards
Hello Denis, I'm also playing with pia this week. I had no issue with the production settings using also ENV RAILS_SERVE_STATIC_FILES=true for the pia-back. Did you set your ENV PIA_VERSION 2.0.0 because i had also issue with the 1.6.4. Enjoy :)
Hello, Thank you for your reply. The problem seems to be solved when we use the variable RAILS_SERVE_STATIC_FILES = true. Then 3 steps: docker-compose down docker system plum -a docker-compose up -d
Thank you again for your help. Best regards.