Commit 580b407399

580b4073995a12dda3a20f5dc5168f0abbbf48f0

parent: 3332bfd5a8

Unsigned

cmc <hello@cleberg.net> · 2025-01-28 04:10 UTC

fix errors in latest post

Layout: unified · split

content/blog/2025-01-23-self-hosting-tandoor.org +13 −11
@@ -36,13 +36,13 @@ https://raw.githubusercontent.com/vabene1111/recipes/develop/docs/install/docker
3636#+end_src
3737
3838Within these files, customize as needed.
391. =.env=
40 a. Add a =SECRET_KEY=
41 b. Define the =ALLOWED_HOSTS=
42 c. Set the =POSTGRES_PASSWORD=
432. =docker-compose.yml=
44 a. Update the =ports= since Nginx on my host is already using port 80 (e.g.
45 =8087:80=)
39- =.env=
40 - Add a =SECRET_KEY=
41 - Define the =ALLOWED_HOSTS=
42 - Set the =POSTGRES_PASSWORD=
43- =docker-compose.yml=
44 - Update the =ports= since Nginx on my host is already using port 80 (e.g.
45 =8087:80=)
4646
4747Once you've updated and saved the files, you can launch the container.
4848
@@ -52,16 +52,18 @@ sudo docker compose up -d
5252
5353The application is now available at =localhost:8087= or =ip_address:8087= if
5454accessing via a different machine. If accessing via a different machine,
55remember to allow port 8087 through any existing firewalls.
55remember to allow port =8087= through any existing firewalls.
5656
5757** Nginx Reverse Proxy
5858
5959Now that Tandoor is available locally, let's connect it to the Nginx web server
6060running on the host machine.
6161
62> Note: I use Nginx configuration files within the =conf.d= directory, but you
63> may need to use the =sites-available= directory, depending on your
64> installation of Nginx.
62#+begin_quote
63Note: I use Nginx configuration files within the =conf.d= directory, but you may
64need to use the =sites-available= directory, depending on your installation of
65Nginx.
66#+end_quote
6567
6668#+begin_src shell
6769cd /etc/nginx/conf.d/