You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build will fail because of ghc mismatch. To get past this, I update the docker image to haskell:8.6.3 or I have to go into the stack.yaml and change the resolver from lts-13.4 to lts-11.8
sudo docker-compose up will still fail because the upstream can't be found. Have to edit the nginx.conf file for the upstream app.
upstream app { server servantdockertest:1234; }
sudo docker-compose build sudo docker-compose up
And everything works.
The text was updated successfully, but these errors were encountered:
tldr;
Steps to reproduce:
stack new ServantDockerTest servant-docker
sudo docker-compose up
I go to docker-compose.yml and change line 3, 5, 15: to servantdockertest
The build will fail because of ghc mismatch. To get past this, I update the docker image to haskell:8.6.3 or I have to go into the stack.yaml and change the resolver from lts-13.4 to lts-11.8
sudo docker-compose up will still fail because the upstream can't be found. Have to edit the nginx.conf file for the upstream app.
upstream app { server servantdockertest:1234; }
sudo docker-compose build
sudo docker-compose up
And everything works.
The text was updated successfully, but these errors were encountered: