mviewer / mviewerstudio

mviewer generator
GNU General Public License v3.0
12 stars 26 forks source link

#252 Better docker compose #277

Closed jeanpommier closed 8 months ago

jeanpommier commented 8 months ago

ref #252

Builds on top of https://github.com/mviewer/mviewerstudio/pull/276

Provide a more production-oriented docker-compose file. It uses a nginx reverse-proxy and exposes the studio under the /mviewerstudio/ subpath (with a convenient redirection when someone asks for / path)

Beware I also applied a change to the default config-python-sample.json file to locate mviewer under /mviewer/ rather than the developer-oriented previous choice, http://127.0.0.1:5051/. This also makes it more explicit, thus readable and understandable by a newcomer.

Build the docker image

docker compose build

Start the composition

docker compose up -d
# might be docker-compose up -d instead on older docker versions
Gaetanbrl commented 8 months ago

Test en cours @jeanpommier

Gaetanbrl commented 8 months ago

Testé ce jour avec ces commandes (docker est déjà installé) :

git clone https://github.com/mviewer/mviewerstudio.git
docker compose build
docker compose up

Je test l'installation classique pour voir si la doc n'est pas à modifier en conséquence.

Gaetanbrl commented 8 months ago

Testé en Install classique (mode dev - via script sh) et c'est bon pour moi. merci @jeanpommier !