From 6ca039910a1c6076f333621113bb7d182f17c576 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Wed, 14 Feb 2024 17:09:24 +0100 Subject: [PATCH] fix dev docker and docs --- docker/nginx/default.conf | 6 +++--- docs/host-your-own.md | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index 9f40337..a3f8d47 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -5,13 +5,13 @@ server { location / { proxy_connect_timeout 300; - proxy_pass http://node:3000; + proxy_pass http://pairdrop:3000; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; } location /ca.crt { - alias /etc/ssl/certs/snapdropCA.crt; + alias /etc/ssl/certs/pairdropCA.crt; } # To allow POST on static pages @@ -27,7 +27,7 @@ server { location / { proxy_connect_timeout 300; - proxy_pass http://node:3000; + proxy_pass http://pairdrop:3000; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; } diff --git a/docs/host-your-own.md b/docs/host-your-own.md index 61f4112..6da9317 100644 --- a/docs/host-your-own.md +++ b/docs/host-your-own.md @@ -669,15 +669,13 @@ git clone https://github.com/schlagmichdoch/PairDrop.git && cd PairDrop git checkout dev ``` ```bash -docker compose -f docker-compose-dev.yml up -d +docker compose -f docker-compose-dev.yml up --no-deps --build ``` Now point your web browser to `http://localhost:8080`. -- To restart the containers, run `docker compose restart`. -- To stop the containers, run `docker compose stop`. - To debug the Node.js server, run `docker logs pairdrop`. - +- After changes to the code you have to rerun the `docker compose` command