Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:endurain [2025/05/21 08:26] – willy | services:endurain [2025/11/06 11:09] (current) – [Reverse Proxy] willy | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| - SECRET_KEY=<< | - SECRET_KEY=<< | ||
| - FERNET_KEY=<< | - FERNET_KEY=<< | ||
| - | - GEOCODES_MAPS_API= | + | - GEOCODES_MAPS_API=<< see below >> |
| - ENDURAIN_HOST=https:// | - ENDURAIN_HOST=https:// | ||
| - UID=0 | - UID=0 | ||
| Line 34: | Line 34: | ||
| - BEHIND_PROXY=true | - BEHIND_PROXY=true | ||
| volumes: | volumes: | ||
| - | - / | ||
| - | - / | ||
| - | - / | ||
| - / | - / | ||
| + | - / | ||
| ports: | ports: | ||
| - " | - " | ||
| Line 46: | Line 44: | ||
| | | ||
| postgres: | postgres: | ||
| - | image: postgres:latest | + | image: |
| container_name: | container_name: | ||
| environment: | environment: | ||
| Line 74: | Line 72: | ||
| </ | </ | ||
| - | The **GEOCODES_MAPS_API** is not needed if the 1request/ | + | The **GEOCODES_MAPS_API** is needed |
| Volumes will be mounted under **/ | Volumes will be mounted under **/ | ||
| Line 85: | Line 83: | ||
| <code bash> | <code bash> | ||
| podman compose pull | podman compose pull | ||
| + | podman compose up | ||
| </ | </ | ||
| + | Please note that due to database initialization time, the first startup might fail on the Endurain app. In this case let the database initialize properly, shut down and restart the containers. | ||
| Line 113: | Line 113: | ||
| proxy_set_header | proxy_set_header | ||
| proxy_set_header | proxy_set_header | ||
| + | proxy_http_version 1.1; | ||
| + | proxy_set_header Upgrade $http_upgrade; | ||
| + | proxy_set_header Connection $http_connection; | ||
| } | } | ||
| Line 146: | Line 149: | ||
| You can now start adding users and using the tool! | You can now start adding users and using the tool! | ||
| + | |||
| + | ===== Log rotation ===== | ||
| + | |||
| + | Create the following **/ | ||
| + | <file - endurain> | ||
| + | / | ||
| + | missingok | ||
| + | notifempty | ||
| + | } | ||
| + | </ | ||