Skip to content
Snippets Groups Projects
Unverified Commit 046c52a3 authored by Griefed's avatar Griefed Committed by GitHub
Browse files

Relevant information and clean-up

parent b2a296e3
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ port | Use this image if you want to access d-zone via `IP:PORT` ...@@ -32,7 +32,7 @@ port | Use this image if you want to access d-zone via `IP:PORT`
```docker-compose.yml ```docker-compose.yml
d-zone: d-zone:
container_name: d-zone container_name: d-zone
image: griefed/d-zone image: griefed/d-zone:<tag> # Either proxy or port
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./path/to/config/files:/config - ./path/to/config/files:/config
...@@ -47,7 +47,7 @@ port | Use this image if you want to access d-zone via `IP:PORT` ...@@ -47,7 +47,7 @@ port | Use this image if you want to access d-zone via `IP:PORT`
### Raspberry Pi & building the image yourself ### Raspberry Pi & building the image yourself
Using the [noproxy Dockerfile](https://github.com/Griefed/docker-D-Zone/blob/lsiobase/alpine/Dockerfile.noproxy), this container can be built and run on a Raspberry Pi. Using the [Dockerfile.port](https://github.com/Griefed/docker-D-Zone/blob/lsiobase/alpine/Dockerfile.port), this container can be built and run on a Raspberry Pi.
I've tested it on a Raspberry Pi 3B & 3B+. I've tested it on a Raspberry Pi 3B & 3B+.
#### docker-compose.yml #### docker-compose.yml
...@@ -69,7 +69,7 @@ I've tested it on a Raspberry Pi 3B & 3B+. ...@@ -69,7 +69,7 @@ I've tested it on a Raspberry Pi 3B & 3B+.
``` ```
1. Clone the repository: `git clone https://github.com/Griefed/docker-D-Zone.git ./d-zone` 1. Clone the repository: `git clone https://github.com/Griefed/docker-D-Zone.git ./d-zone`
1. Replace **Dockerfile** with **Dockerfile.noproxy**: `rm Dockerfile && mv Dockerfile.noproxy Dockerfile` 1. Rename **Dockerfile.port to **Dockerfile**: `mv Dockerfile.port Dockerfile`
1. Prepare docker-compose.yml file as seen below 1. Prepare docker-compose.yml file as seen below
1. docker-compose up -d --build d-zone 1. docker-compose up -d --build d-zone
1. Visit IP.ADDRESS.OF.HOST:3000 1. Visit IP.ADDRESS.OF.HOST:3000
...@@ -85,7 +85,7 @@ volumes | /config contains all relevant configuration files. ...@@ -85,7 +85,7 @@ volumes | /config contains all relevant configuration files.
TZ | Timezone TZ | Timezone
PUID | for UserID PUID | for UserID
PGID | for GroupID PGID | for GroupID
ports | The port where D-Zone will be available at. Change left number. ports | The port where D-Zone will be available at. Only relevant when using `port`-tag
## User / Group Identifiers ## User / Group Identifiers
...@@ -117,12 +117,12 @@ If you want to define multiple servers, see https://github.com/d-zone-org/d-zone ...@@ -117,12 +117,12 @@ If you want to define multiple servers, see https://github.com/d-zone-org/d-zone
## Running D-Zone behind a reverse proxy like NGINX ## Running D-Zone behind a reverse proxy like NGINX
I use a dockerized nginx as a reverse proxy, specifically https://hub.docker.com/r/linuxserver/swag.
If you want to serve d-zone with a reverse proxy like nginx and HTTPS, then this may be of help to you: If you want to serve d-zone with a reverse proxy like nginx and HTTPS, then this may be of help to you:
```docker-compose.yml ```docker-compose.yml
d-zone: d-zone:
container_name: d-zone container_name: d-zone
image: griefed/d-zone image: griefed/d-zone:proxy
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./path/to/config/files:/config - ./path/to/config/files:/config
...@@ -132,6 +132,9 @@ If you want to serve d-zone with a reverse proxy like nginx and HTTPS, then this ...@@ -132,6 +132,9 @@ If you want to serve d-zone with a reverse proxy like nginx and HTTPS, then this
- PUID=1000 #User ID - PUID=1000 #User ID
- PGID=1000 #Group ID - PGID=1000 #Group ID
``` ```
I use a dockerized NGINX as a reverse proxy, specifically [linuxserver/swag](https://hub.docker.com/r/linuxserver/swag).
```nginx ```nginx
server { server {
listen 443 ssl; listen 443 ssl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment