gadgeteerza

LibrePhotos - stack.env file

Jan 28th, 2024
1,060
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.97 KB | Source Code | 0 0
  1. # This file contains all the things you need to change to set up your Libre Photos.
  2. # There are a few items that must be set for it to work such as the location of your photos.
  3. # After the mandatory entries there are some optional ones that you may set.
  4.  
  5. # Start of mandatory changes.
  6.  
  7. # Location of your photos.
  8. scanDirectory=./librephotos/pictures
  9.  
  10. # Internal data of LibrePhotos
  11. data=./librephotos/data
  12.  
  13. # ------------------------------------------------------------------------------------------------
  14.  
  15. # Wow, we are at the optional now. Pretty easy so far. You do not have to change any of the below.
  16.  
  17. # Set this value if you have a custom domain name. This allows uploads and django-admin access. If you do not have a custom domain name, leave this blank.
  18. csrfTrustedOrigins=https://librephotos.gadgeteer.co.za
  19.  
  20. #What port should Libre Photos be accessed at (Default 3000)
  21. httpPort=4000
  22.  
  23. # What branch should we install the latest weekly build or the development branch (dev)
  24. tag=latest
  25.  
  26. # Number of workers, which take care of the request to the api. This setting can dramatically affect the ram usage.
  27. # A positive integer generally in the 2-4 x $(NUM_CORES) range.
  28. # You’ll want to vary this a bit to find the best for your particular workload.
  29. # Each worker needs 800MB of RAM. Change at your own will. Default is 2.
  30. gunniWorkers=2
  31.  
  32. # You can set the database name. Did you know Libre Photos was forked from OwnPhotos?
  33. dbName=librephotos
  34.  
  35. # Here you can change the user name for the database.
  36. dbUser=docker
  37.  
  38. # The password used by the database.
  39. dbPass=randompassword
  40.  
  41. # Default minimum rating to interpret as favorited. This default value is used when creating a new user.
  42. # Users can change this in their settings (Dashboards > Library).
  43. DEFAULT_FAVORITE_MIN_RATING=4
  44.  
  45. # Database host. Only change this if you want to use your own existing Postgres server. If using your own server, you can remove the 'db' container from docker-compose.yml. If you're changing the name of the DB's container name (DB_CONT_NAME further down), you need to set this variable to match that name too.
  46. dbHost=librephotos_db
  47.  
  48. # Set the names of the docker containers to your own entries. Or don't, I'm not your dad.
  49. # Changing these will require you to `make rename` to rename the services, and start the system with your chosen `docker-compose up -d` invocation again.
  50. # Note that changing the DB_CONT_NAME will also need you to set the `dbHost` variable to the same value.
  51. DB_CONT_NAME=librephotos_db
  52. BACKEND_CONT_NAME=librephotos_backend
  53. FRONTEND_CONT_NAME=librephotos_frontend
  54. PROXY_CONT_NAME=librephotos_proxy
  55. PGADMIN_CONT_NAME=librephotos_pgadmin
  56. # ---------------------------------------------------------------------------------------------
  57.  
  58. # If you are not a developer ignore the following parameters: you will never need them.
  59.  
  60. # Where shall we store the backend and frontend code files.
  61. codedir=./librephotos/code
  62.  
  63. # Location for pgAdmin
  64. pgAdminLocation=./librephotos/pgadmin
Tags: librephotos
Advertisement
Add Comment
Please, Sign In to add comment