Skip to content

Commit

Permalink
Update getting started path to use artifacts (#116)
Browse files Browse the repository at this point in the history
Adjust docs to PR netbirdio/netbird#1235
  • Loading branch information
mlsmaycon authored Dec 17, 2023
1 parent ddc65c7 commit 46ae382
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pages/selfhosted/selfhosted-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,18 @@ Make sure all the required properties set in the ```setup.env``` file and run:
./configure.sh
```

This will export all the properties as environment variables and generate ```docker-compose.yml``` and ```management.json``` files substituting required variables.
This will export all the properties as environment variables and generate ```artifacts/docker-compose.yml```, ```artifacts/management.json``` and ```artifacts/turnserver.cong``` files substituting required variables.

### Step 6: Run docker compose:

```bash
cd artifacts
docker-compose up -d
```
### Step 7: Check docker logs (Optional)

```bash
cd artifacts
docker-compose logs signal
docker-compose logs management
docker-compose logs coturn
Expand Down Expand Up @@ -187,7 +189,7 @@ To backup your NetBird installation, you need to copy the configuration files, a

The configuration files are located in the folder where you ran the installation script. To backup, copy the files to a backup location:
```bash
cd netbird/infrastructure_files/
cd netbird/infrastructure_files/artifacts/
mkdir backup
cp docker-compose.yml turnserver.conf management.json backup/
```
Expand All @@ -203,7 +205,7 @@ To upgrade NetBird to the latest version, you need to review the [release notes]
1. Run the backup steps described in the [backup](#backup-net-bird) section.
2. Pull the latest NetBird docker images:
```bash
cd netbird/infrastructure_files/
cd netbird/infrastructure_files/artifacts/
docker compose pull
```
3. Restart the NetBird containers with the new images:
Expand Down

0 comments on commit 46ae382

Please sign in to comment.