Commit 580b407399
Unsigned
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 | 36 | #+end_src |
| 37 | 37 | |
| 38 | 38 | Within these files, customize as needed. |
| 39 | 1. =.env= | |
| 40 | a. Add a =SECRET_KEY= | |
| 41 | b. Define the =ALLOWED_HOSTS= | |
| 42 | c. Set the =POSTGRES_PASSWORD= | |
| 43 | 2. =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=) | |
| 46 | 46 | |
| 47 | 47 | Once 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 | |
| 53 | 53 | The application is now available at =localhost:8087= or =ip_address:8087= if |
| 54 | 54 | accessing via a different machine. If accessing via a different machine, |
| 55 | remember to allow port 8087 through any existing firewalls. | |
| 55 | remember to allow port =8087= through any existing firewalls. | |
| 56 | 56 | |
| 57 | 57 | ** Nginx Reverse Proxy |
| 58 | 58 | |
| 59 | 59 | Now that Tandoor is available locally, let's connect it to the Nginx web server |
| 60 | 60 | running on the host machine. |
| 61 | 61 | |
| 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 | |
| 63 | Note: I use Nginx configuration files within the =conf.d= directory, but you may | |
| 64 | need to use the =sites-available= directory, depending on your installation of | |
| 65 | Nginx. | |
| 66 | #+end_quote | |
| 65 | 67 | |
| 66 | 68 | #+begin_src shell |
| 67 | 69 | cd /etc/nginx/conf.d/ |