Skip to content

Commit

Permalink
Update pouta.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ruusukivi committed Aug 27, 2023
1 parent b501548 commit 61832bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/pouta.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,16 @@ crontab -e
```
## Docker Containers

Currently we have 4 Docker containers up and running, these are:
Currently we have 5 Docker containers up and running, these are:

**wbased-back**: This is the backend service built using the Docker image `ruusukivi/wbased-back:latest`. It has the `watchtower` label to enable automatic updates. The service is set to restart unless manually stopped and it's connected to the network `ubuntu_default`.

**wbased-front**: This is the frontend service built using the Docker image `ruusukivi/wbased-front:latest`. It also has the `watchtower` label for automatic updates. This service is exposed on port `3000` and it's set to restart unless manually stopped. It's also connected to the network `ubuntu_default`.

**nginx**: This is the reverse proxy server. It uses the `nginx` image and it's configured with a custom nginx configuration file. This service is exposed on port `80` and is also connected to the network `ubuntu_default`. It's set to restart unless manually stopped. The nginx reverse proxy is set to route all requests coming to `/api/` to the backend service. This means all client requests must go through the reverse proxy, which provides an additional layer of security.

**redis**: This is a service used for caching.

**watchtower**: This service is used to automatically update the Docker containers. It uses the `containrrr/watchtower` image and it has access to the Docker socket, allowing it to monitor the other services. The command `--label-enable --interval 60` tells Watchtower to only update containers with the specific Watchtower label and to check for updates every 60 seconds.

## Current Pouta Docker configurations
Expand Down

0 comments on commit 61832bf

Please sign in to comment.