Update 'README.md'

This commit is contained in:
Shiny Nematoda
2022-08-06 16:48:17 +02:00
parent 39dc1ac3df
commit 7339a80066
+14 -8
View File
@@ -1,13 +1,15 @@
# Docker
## Step 1 - Setup
## Hosting
### Step 1 - Setup
Make sure the following dependencies are met:
- `git`
- `curl`
- `jq`
## Step 2 - Configure
### Step 2 - Configure
Clone the repo
```sh
@@ -24,7 +26,7 @@ Run the setup script
$ ./gen.sh
```
## Step 3 - Docker
### Step 3 - Docker
Build
```sh
@@ -36,15 +38,19 @@ Start the container
$ docker-compose up
```
## Step 4 - update
## Updating
Just run the update script
Run the update script
```sh
./update.sh
$ ./update.sh
```
## Step 5 -- clean
## Cleaning
You can use this to clean old files but be aware that all docker images that are down will get removed too so if you self host other stuff than hyperpipe, make sure to run all images (incl databases) then run the command down
```sh
sudo docker system prune -a; sudo docker volume prune ; sudo docker network prune; sudo docker image prune
# docker system prune -a
# docker volume prune
# docker network prune
# docker image prune
```