diff --git a/README.md b/README.md index d9766fdd..4c7f0f10 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ **Screenshots**: Checkout the [Showcase](./docs/showcase.md), to see example dashboards from the community -**Spin up your own demo**: [](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml) or [`docker run -p 8080:80 lissy93/dashy`](./docs/quick-start.md) +**Spin up your own demo**: [](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml) or [`docker run -p 8080:8080 lissy93/dashy`](./docs/quick-start.md)
diff --git a/docs/authentication.md b/docs/authentication.md
index 99654981..34783e68 100644
--- a/docs/authentication.md
+++ b/docs/authentication.md
@@ -209,7 +209,7 @@ Allow from [your-ip]
In NGINX you can specify [control access](https://docs.nginx.com/nginx/admin-guide/security-controls/controlling-access-proxied-http/) rules for a given site in your `nginx.conf` or hosts file. For example:
```
server {
- listen 80;
+ listen 8080;
server_name www.dashy.example.com;
location / {
root /path/to/dashy/;
diff --git a/docs/deployment.md b/docs/deployment.md
index e9710e6a..54cc71c3 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -5,7 +5,7 @@ Welcome to Dashy, so glad you're here :) Deployment is super easy, and there are
#### Quick Start
If you want to skip the fuss, and [get straight down to it](/docs/quick-start.md), then you can spin up a new instance of Dashy by running:
```
-docker run -p 8080:80 lissy93/dashy
+docker run -p 8080:8080 lissy93/dashy
```
See [Management Docs](/docs/management.md) for info about securing, monitoring, updating, health checks, auto starting, web server configuration, etc
@@ -47,7 +47,7 @@ Dashy has a built container image hosted on [Docker Hub](https://hub.docker.com/
```docker
docker run -d \
- -p 8080:80 \
+ -p 8080:8080 \
-v /root/my-local-conf.yml:/app/public/conf.yml \
--name my-dashboard \
--restart=always \
@@ -91,7 +91,7 @@ services:
# volumes:
# - /root/my-config.yml:/app/public/conf.yml
ports:
- - 4000:80
+ - 4000:8080
# Set any environmental variables
environment:
- NODE_ENV=production
@@ -136,7 +136,7 @@ Installing dashy is really simply and fast:
```
docker run -d \
- -p 4000:80 \
+ -p 4000:8080 \
-v /volume1/docker/dashy/my-local-conf.yml:/app/public/conf.yml \
--name dashy \
--restart=always \
diff --git a/docs/management.md b/docs/management.md
index 2d1d12c0..b8e7cd02 100644
--- a/docs/management.md
+++ b/docs/management.md
@@ -215,7 +215,7 @@ Once you've generated your SSL cert, you'll need to pass it to Dashy. This can b
```
docker run -d \
- -p 8080:80 \
+ -p 8080:8080 \
-v ~/my-private-key.key:/etc/ssl/certs/dashy-priv.key:ro \
-v ~/my-public-key.pem:/etc/ssl/certs/dashy-pub.pem:ro \
lissy93/dashy:latest
@@ -255,7 +255,7 @@ services:
volumes:
- /root/my-config.yml:/app/public/conf.yml
ports:
- - 4000:80
+ - 4000:8080
environment:
- BASE_URL=/my-dashboard
restart: unless-stopped
@@ -523,7 +523,7 @@ upstream dashy {
}
server {
- listen 80;
+ listen 8080;
server_name dashy.mydomain.com;
# Setup SSL
@@ -607,7 +607,7 @@ services:
dashy:
image: lissy93/dashy
user: ${CURRENT_UID}
- ports: [ 4000:80 ]
+ ports: [ 4000:8080 ]
```
And then to set the variable, and start the container, run: `CURRENT_UID=$(id -u):$(id -g) docker-compose up`
@@ -626,7 +626,7 @@ version: "3.8"
services:
dashy:
image: lissy93/dashy
- ports: [ 4000:80 ]
+ ports: [ 4000:8080 ]
cap_drop:
- ALL
cap_add:
@@ -662,7 +662,7 @@ Similarly, never expose `/var/run/docker.sock` to other containers as a volume,
You can specify that a specific volume should be read-only by appending `:ro` to the `-v` switch. For example, while running Dashy, if we want our config to be writable, but keep all other assets protected, we would do:
```
docker run -d \
- -p 8080:80 \
+ -p 8080:8080 \
-v ~/dashy-conf.yml:/app/public/conf.yml \
-v ~/dashy-icons:/app/public/item-icons:ro \
-v ~/dashy-theme.scss:/app/src/styles/user-defined-themes.scss:ro \
@@ -732,8 +732,8 @@ Create a new file in `/etc/nginx/sites-enabled/dashy`
```
server {
- listen 80;
- listen [::]:80;
+ listen 8080;
+ listen [::]:8080;
root /var/www/dashy/html;
index index.html;
@@ -847,7 +847,7 @@ Similar to above, you'll first need to fork and clone Dashy to your local system
Then, either use Dashy's default [`Dockerfile`](https://github.com/Lissy93/dashy/blob/master/Dockerfile) as is, or modify it according to your needs.
-To build and deploy locally, first build the app with: `docker build -t dashy .`, and then start the app with `docker run -p 8080:80 --name my-dashboard dashy`. Or modify the `docker-compose.yml` file, replacing `image: lissy93/dashy` with `build: .` and run `docker compose up`.
+To build and deploy locally, first build the app with: `docker build -t dashy .`, and then start the app with `docker run -p 8080:8080 --name my-dashboard dashy`. Or modify the `docker-compose.yml` file, replacing `image: lissy93/dashy` with `build: .` and run `docker compose up`.
Your container should now be running, and will appear in the list when you run `docker container ls –a`. If you'd like to enter the container, run `docker exec -it [container-id] /bin/ash`.
diff --git a/docs/quick-start.md b/docs/quick-start.md
index 7041fc76..32a9e50c 100644
--- a/docs/quick-start.md
+++ b/docs/quick-start.md
@@ -18,7 +18,7 @@ If you don't want to use Docker, then you can use one of Dashy's other supported
To pull the latest image, and build and start the app run:
```
docker run -d \
- -p 8080:80 \
+ -p 8080:8080 \
-v ~/my-conf.yml:/app/public/conf.yml \
--name my-dashboard \
--restart=always \
@@ -137,4 +137,4 @@ Dashy supports 1-Click deployments on several popular cloud platforms. To spin u
- [ Deploy to Vercel](https://vercel.com/new/project?template=https://github.com/lissy93/dashy)
- [
Deploy to Render](https://render.com/deploy?repo=https://github.com/lissy93/dashy/tree/deploy_render)
- [
Deploy to GCP](https://deploy.cloud.run/?git_repo=https://github.com/lissy93/dashy.git)
-- [
Deploy to PWD](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml)
\ No newline at end of file
+- [
Deploy to PWD](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml)
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 0c7d3206..7ae8e2ec 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -98,7 +98,7 @@ If you're getting an error about scenarios, then you've likely installed the wro
Alternatively, as a workaround, you have several options:
- Try using [NPM](https://www.npmjs.com/get-npm) instead: So clone, cd, then run `npm install`, `npm run build` and `npm start`
-- Try using [Docker](https://www.docker.com/get-started) instead, and all of the system setup and dependencies will already be taken care of. So from within the directory, just run `docker build -t lissy93/dashy .` to build, and then use docker start to run the project, e.g: `docker run -it -p 8080:80 lissy93/dashy` (see the [deploying docs](https://github.com/Lissy93/dashy/blob/master/docs/deployment.md#deploy-with-docker) for more info)
+- Try using [Docker](https://www.docker.com/get-started) instead, and all of the system setup and dependencies will already be taken care of. So from within the directory, just run `docker build -t lissy93/dashy .` to build, and then use docker start to run the project, e.g: `docker run -it -p 8080:8080 lissy93/dashy` (see the [deploying docs](https://github.com/Lissy93/dashy/blob/master/docs/deployment.md#deploy-with-docker) for more info)
---