mirror of
https://github.com/joaovitoriasilva/endurain.git
synced 2026-01-10 08:17:59 -05:00
Update config and volume paths for persistence
Consolidate user images, activity files, and server images into the 'config' directory for persistence in docker-compose examples and documentation. Update related documentation to reflect the new directory structure and backup recommendations.
This commit is contained in:
@@ -12,9 +12,7 @@ services:
|
||||
- ENDURAIN_HOST=http://localhost:8080 # host or local ip (example: http://192.168.1.10:8080 or https://endurain.com), default is http://localhost:8080
|
||||
volumes:
|
||||
# - <local_path>/endurain/backend/app:/app/backend # Configure volume if you want to edit the code locally by cloning the repo
|
||||
- <local_path>/endurain/backend/user_images:/app/backend/user_images # necessary for user image persistence on container image updates
|
||||
- <local_path>/endurain/backend/files/bulk_import:/app/backend/files/bulk_import # necessary to enable bulk import of activities. Place here your activities files
|
||||
- <local_path>/endurain/backend/files/processed:/app/backend/files/processed # necessary for processed original files persistence on container image updates
|
||||
- <local_path>/endurain/backend/config:/app/backend/config # necessary for activity files, user images and server images persistence on container image updates
|
||||
- <local_path>/endurain/backend/logs:/app/backend/logs # log files for the backend
|
||||
ports:
|
||||
- "8080:8080" # Endurain port, change per your needs
|
||||
|
||||
@@ -6,8 +6,8 @@ services:
|
||||
- .env
|
||||
volumes:
|
||||
# - <local_path>/endurain/backend/app:/app/backend # Configure volume if you want to edit the code locally by cloning the repo
|
||||
- <local_path>/endurain/backend/config:/app/backend/config # necessary for activity files, user images and server images persistence on container image updates
|
||||
- <local_path>/endurain/backend/logs:/app/backend/logs # log files for the backend
|
||||
- <local_path>/endurain/backend/config:/app/backend/config # necessary for image and activity files persistence on docker image update
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
|
||||
@@ -83,6 +83,6 @@ Some notes:
|
||||
|
||||
## Image personalization
|
||||
|
||||
It is possible (v0.10.0 or higher) to personalize the login image in the login page. To do that, map the server_images directory for image persistence on container updates and:
|
||||
It is possible (v0.10.0 or higher) to personalize the login image in the login page. To do that, map the config/server_images directory for image persistence on container updates and:
|
||||
- Set the image in the server settings zone of the settings page
|
||||
- A square image is expected. Default one uses 1000px vs 1000px
|
||||
@@ -168,9 +168,7 @@ The same is the case for Postgres. Check for breaking changes in release notes o
|
||||
You should implement backup strategy for the following directories:
|
||||
|
||||
```
|
||||
/opt/endurain/app/user_images
|
||||
/opt/endurain/app/files/bulk_import
|
||||
/opt/endurain/app/files/processed
|
||||
/opt/endurain/app/config
|
||||
/opt/endurain/app/logs
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user