Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
services:endurain [2025/05/21 08:10] – created willy | services:endurain [2025/05/21 09:42] (current) – [Installation] willy | ||
---|---|---|---|
Line 19: | Line 19: | ||
Then grab the example docker-compose.yml [[https:// | Then grab the example docker-compose.yml [[https:// | ||
<file - docker-compose.yml> | <file - docker-compose.yml> | ||
+ | services: | ||
+ | endurain: | ||
+ | container_name: | ||
+ | image: ghcr.io/ | ||
+ | environment: | ||
+ | - TZ=Europe/ | ||
+ | - DB_PASSWORD=<< | ||
+ | - SECRET_KEY=<< | ||
+ | - FERNET_KEY=<< | ||
+ | - GEOCODES_MAPS_API=<< | ||
+ | - ENDURAIN_HOST=https:// | ||
+ | - UID=0 | ||
+ | - GID=0 | ||
+ | - BEHIND_PROXY=true | ||
+ | volumes: | ||
+ | - / | ||
+ | - / | ||
+ | - / | ||
+ | - / | ||
+ | ports: | ||
+ | - " | ||
+ | depends_on: | ||
+ | postgres: | ||
+ | networks: | ||
+ | - endurain-network | ||
+ | | ||
+ | postgres: | ||
+ | image: postgres: | ||
+ | container_name: | ||
+ | environment: | ||
+ | - POSTGRES_PASSWORD=<< | ||
+ | - POSTGRES_DB=endurain | ||
+ | - POSTGRES_USER=endurain | ||
+ | - PGDATA=/ | ||
+ | ports: | ||
+ | - " | ||
+ | volumes: | ||
+ | - / | ||
+ | networks: | ||
+ | - endurain-network | ||
+ | networks: | ||
+ | endurain-network: | ||
</ | </ | ||
Line 32: | Line 74: | ||
</ | </ | ||
- | 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 43: | Line 85: | ||
<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 97: | Line 141: | ||
</ | </ | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | Go to the web UI and do the first login as user **admin** with password **admin**, then immediately change the password. | ||
+ | |||
+ | You can now start adding users and using the tool! | ||
+ | |||
+ | |||
+ | ===== Log rotation ===== | ||
+ | |||
+ | Create the following **/ | ||
+ | <file - endurain> | ||
+ | / | ||
+ | missingok | ||
+ | notifempty | ||
+ | } | ||
+ | </ | ||