From 46ae38249cf8e46a9b706644ef3543777993515d Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Sun, 17 Dec 2023 18:00:00 +0100 Subject: [PATCH] Update getting started path to use artifacts (#116) Adjust docs to PR https://github.com/netbirdio/netbird/pull/1235 --- src/pages/selfhosted/selfhosted-guide.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/selfhosted/selfhosted-guide.mdx b/src/pages/selfhosted/selfhosted-guide.mdx index 83c9b5a2..4582ab40 100644 --- a/src/pages/selfhosted/selfhosted-guide.mdx +++ b/src/pages/selfhosted/selfhosted-guide.mdx @@ -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 @@ -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/ ``` @@ -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: