Giter Site home page Giter Site logo

Comments (8)

gmesserman avatar gmesserman commented on August 23, 2024 1

@rielas - I missed it. Will commit shortly

from brokencrystals.

rielas avatar rielas commented on August 23, 2024

@bararchy Please, provide us Dockerfile. We don't understand how to deploy it

from brokencrystals.

denanmusinovic avatar denanmusinovic commented on August 23, 2024

@gmesserman
Hello, i am trying to build image with dockerfile you provided but it's failing. It's trying to copy dist directory which doesn't exist. Can you try it on your side? On fresh repo clone dist directory is not created via building Dockerfile image.

from brokencrystals.

gmesserman avatar gmesserman commented on August 23, 2024

You need to run build for server and client.

For server - run “npm i && npm run build” in root directory
For client - go to public directly and run “npm i && npm run build”

after that you can run docker compose

from brokencrystals.

denanmusinovic avatar denanmusinovic commented on August 23, 2024

@gmesserman
@amar771
Hey guys, brokencrystal is deployed, just i am not sure if it's working properly i had to change configs and dockerfile to make it work. Here is swagger url:
https://brokencrystal.playground.nexploit.app/swagger

from brokencrystals.

gmesserman avatar gmesserman commented on August 23, 2024

@denanmusinovic , what didn't work with the default configs and docker compose?

Which changes were made? From quick test, it seems that things like directory listing are not enabled. Did you you the commited nginxcofig?

from brokencrystals.

denanmusinovic avatar denanmusinovic commented on August 23, 2024

I didn't use commited nginx config, can't make it to work with staticfloat/nginx-certbot for generating ssl certs. Can you try directory listing now?

from brokencrystals.

gmesserman avatar gmesserman commented on August 23, 2024

Still doesn't work (it should work with similar dir - https://nl-bc.dev.sogoservices.com/vendor/). Probably would be better to use the committed config and add an official certbot docker for certification issuing/renewal - https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71

from brokencrystals.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.