diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-04-29 14:18:55 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-04-29 14:18:55 -0500 |
commit | fdd80eadcc2f147d0198d94b7b908764778184a2 (patch) | |
tree | fbec9522ea9aa13e8105efc413d2498c3c5b4cd6 /content/blog/2023-06-30-self-hosting-voyager.md | |
parent | d6c80fdc1dea9ff242a4d3c7d3939d2727a8da56 (diff) | |
download | cleberg.net-fdd80eadcc2f147d0198d94b7b908764778184a2.tar.gz cleberg.net-fdd80eadcc2f147d0198d94b7b908764778184a2.tar.bz2 cleberg.net-fdd80eadcc2f147d0198d94b7b908764778184a2.zip |
format line wrapping and fix escaped characters
Diffstat (limited to 'content/blog/2023-06-30-self-hosting-voyager.md')
-rw-r--r-- | content/blog/2023-06-30-self-hosting-voyager.md | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/content/blog/2023-06-30-self-hosting-voyager.md b/content/blog/2023-06-30-self-hosting-voyager.md index 66df588..828c0c6 100644 --- a/content/blog/2023-06-30-self-hosting-voyager.md +++ b/content/blog/2023-06-30-self-hosting-voyager.md @@ -7,12 +7,12 @@ draft = false # Installation Guide -[Voyager](https://github.com/aeharding/voyager) is a mobile-first Lemmy -web client, based on iOS design standards. It follows very closely to -Apollo\'s design. +[Voyager](https://github.com/aeharding/voyager) is a mobile-first Lemmy web +client, based on iOS design standards. It follows very closely to Apollo's +design. -This post is a guide showing how I was able to build and launch my own -instance of Voyager via Docker Compose. +This post is a guide showing how I was able to build and launch my own instance +of Voyager via Docker Compose. ## Clone the Repository @@ -25,26 +25,24 @@ cd voyager ## Build the Image -With this repository, you can build the image yourself without any -further configuration. When complete, it\'ll give you the image ID for -you to run. +With this repository, you can build the image yourself without any further +configuration. When complete, it'll give you the image ID for you to run. ```sh sudo docker build . # Successfully built 5f00723cb5be ``` -With the image ID above, you can run the container and pass the -requested port `5314` through or use a custom port, if you -wish. +With the image ID above, you can run the container and pass the requested port +`5314` through or use a custom port, if you wish. -You can also set the `CUSTOM_LEMMY_SERVERS` environment -variable if you want to add to the default suggested login servers. This -must be set with a comma separated list of suggested servers. The first -instance in the list will be the default view for logged-out users. +You can also set the `CUSTOM_LEMMY_SERVERS` environment variable if you want to +add to the default suggested login servers. This must be set with a comma +separated list of suggested servers. The first instance in the list will be the +default view for logged-out users. -I will be using a `docker-compose.yml` file to run this -container, instead of a `docker run` command. +I will be using a `docker-compose.yml` file to run this container, instead of a +`docker run` command. ```sh nano docker-compose.yml @@ -67,17 +65,16 @@ sudo docker-compose up -d ``` The web app will now be available at the following address: -`<machine_ip>:<custom_port>`. If you are running it on your -local device, try `localhost:<custom_port>`. +`<machine_ip>:<custom_port>`. If you are running it on your local device, try +`localhost:<custom_port>`. ## Reverse Proxy -If you want to visit this app via an external URL or domain name, -you\'ll need to set up a reverse proxy. The example below uses Nginx as -a reverse proxy. +If you want to visit this app via an external URL or domain name, you'll need +to set up a reverse proxy. The example below uses Nginx as a reverse proxy. -Simply create the configuration file, paste the contents below, save the -file, symlink the file, and restart Nginx. +Simply create the configuration file, paste the contents below, save the file, +symlink the file, and restart Nginx. ```sh sudo nano /etc/nginx/sites-available/voyager @@ -120,8 +117,7 @@ sudo ln sudo ln -s /etc/nginx/sites-available/voyager /etc/nginx/sites-enabled/v sudo systemctl restart nginx.service ``` -The site will now be available at the `server_name` you -specified above! +The site will now be available at the `server_name` you specified above! -You can visit my instance at -[voyager.cleberg.net](https://voyager.cleberg.net) for an example. +You can visit my instance at [voyager.cleberg.net](https://voyager.cleberg.net) +for an example. |