Guest User

Untitled

a guest
Jul 27th, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. services:
  2. immich-server:
  3. container_name: immich_server
  4. image: altran1502/immich-server:release
  5. entrypoint: ["/bin/sh", "./start-server.sh"]
  6. volumes:
  7. - /portainer/Files/AppData/Config/immich:/usr/src/app/upload
  8. environment:
  9. - NODE_ENV=production
  10. - IMMICH_SERVER_URL=http://immich-server:3001
  11. #- IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3303
  12. - DB_HOSTNAME=immich_postgres
  13. - DB_USERNAME=postgres
  14. - DB_PASSWORD=postgres
  15. - DB_DATABASE_NAME=immich
  16. depends_on:
  17. - immich-redis
  18. - immich-database
  19. restart: always
  20.  
  21. immich-microservices:
  22. container_name: immich_microservices
  23. image: altran1502/immich-server:release
  24. entrypoint: ["/bin/sh", "./start-microservices.sh"]
  25. volumes:
  26. - /portainer/Files/AppData/Config/immich:/usr/src/app/upload
  27. environment:
  28. - NODE_ENV=production
  29. - DB_HOSTNAME=immich_postgres
  30. - DB_USERNAME=postgres
  31. - DB_PASSWORD=postgres
  32. - DB_DATABASE_NAME=immich
  33. depends_on:
  34. - immich-redis
  35. - immich-database
  36. restart: always
  37.  
  38. immich-machine-learning:
  39. container_name: immich_machine_learning
  40. image: altran1502/immich-machine-learning:release
  41. entrypoint: ["/bin/sh", "./entrypoint.sh"]
  42. volumes:
  43. - /portainer/Files/AppData/Config/immich:/usr/src/app/upload
  44. environment:
  45. - NODE_ENV=production
  46. #- IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3303
  47. depends_on:
  48. - immich-database
  49. restart: always
  50.  
  51. immich-web:
  52. container_name: immich_web
  53. image: altran1502/immich-web:release
  54. entrypoint: ["/bin/sh", "./entrypoint.sh"]
  55. environment:
  56. #- IMMICH_WEB_URL=http://immich-web:3300
  57. - VITE_SERVER_ENDPOINT=http://immich-web:2283/api
  58. restart: always
  59.  
  60. immich-redis:
  61. container_name: immich_redis
  62. image: redis:6.2
  63. restart: always
  64. environment:
  65. - REDIS_HOSTNAME=immich_redis
  66.  
  67. immich-database:
  68. container_name: immich_postgres
  69. image: postgres:14
  70. environment:
  71. - DB_HOSTNAME=immich_postgres
  72. - DB_USERNAME=postgres
  73. - DB_PASSWORD=postgres
  74. - DB_DATABASE_NAME=immich
  75. - POSTGRES_PASSWORD=postgres
  76. - POSTGRES_USER=postgres
  77. - POSTGRES_DB=immich
  78. volumes:
  79. - /portainer/Files/AppData/Config/immich/pgdata:/var/lib/postgresql/data
  80. restart: always
  81.  
  82. immich-proxy:
  83. container_name: immich_proxy
  84. image: altran1502/immich-proxy:release
  85. environment:
  86. - IMMICH_SERVER_URL=http://immich-server:3001
  87. - IMMICH_WEB_URL=http://immich-web:3000
  88. ports:
  89. - 2283:8080
  90. logging:
  91. driver: none
  92. depends_on:
  93. - immich-server
  94. restart: always
  95.  
Advertisement
Add Comment
Please, Sign In to add comment