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
36#+end_src 36#+end_src
37 37
38Within these files, customize as needed. 38Within these files, customize as needed.
391. =.env= 39- =.env=
40 a. Add a =SECRET_KEY= 40 - Add a =SECRET_KEY=
41 b. Define the =ALLOWED_HOSTS= 41 - Define the =ALLOWED_HOSTS=
42 c. Set the =POSTGRES_PASSWORD= 42 - Set the =POSTGRES_PASSWORD=
432. =docker-compose.yml= 43- =docker-compose.yml=
44 a. Update the =ports= since Nginx on my host is already using port 80 (e.g. 44 - Update the =ports= since Nginx on my host is already using port 80 (e.g.
45 =8087:80=) 45 =8087:80=)
46 46
47Once you've updated and saved the files, you can launch the container. 47Once you've updated and saved the files, you can launch the container.
48 48
@@ -52,16 +52,18 @@ sudo docker compose up -d
52 52
53The application is now available at =localhost:8087= or =ip_address:8087= if 53The application is now available at =localhost:8087= or =ip_address:8087= if
54accessing via a different machine. If accessing via a different machine, 54accessing 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.
56 56
57** Nginx Reverse Proxy 57** Nginx Reverse Proxy
58 58
59Now that Tandoor is available locally, let's connect it to the Nginx web server 59Now that Tandoor is available locally, let's connect it to the Nginx web server
60running on the host machine. 60running on the host machine.
61 61
62> Note: I use Nginx configuration files within the =conf.d= directory, but you 62#+begin_quote
63> may need to use the =sites-available= directory, depending on your 63Note: I use Nginx configuration files within the =conf.d= directory, but you may
64> installation of Nginx. 64need to use the =sites-available= directory, depending on your installation of
65Nginx.
66#+end_quote
65 67
66#+begin_src shell 68#+begin_src shell
67cd /etc/nginx/conf.d/ 69cd /etc/nginx/conf.d/