728x90

오라클 클라우드 immich 설치 (구글포토 대체)

구글 포토 처럼 어플을 통해 사진 자동 업로드 지원

WEB, Android, Iphone 지원

 

구글 포토 대체 오픈소스 프로젝트인 immich 설치

 

https://documentation.immich.app/

 

Home | Immich

immich Self-hosted photo and video backup solution directly from your mobile phone

documentation.immich.app

https://demo.immich.app/

 

Login

 

demo.immich.app

https://github.com/immich-app/immich

 

[지원]

FeaturesMobileWeb

Upload and view videos and photos Yes Yes
Auto backup when the app is opened Yes N/A
Selective album(s) for backup Yes N/A
Download photos and videos to local device Yes Yes
Multi-user support Yes Yes
Album and Shared albums Yes Yes
Scrubbable/draggable scrollbar Yes Yes
Support RAW (HEIC, HEIF, DNG, Apple ProRaw) Yes Yes
Metadata view (EXIF, map) Yes Yes
Search by metadata, objects and image tags Yes No
Administrative functions (user management) N/A Yes
Background backup Yes N/A
Virtual scroll Yes Yes
OAuth support Yes Yes
LivePhoto backup and playback iOS Yes
User-defined storage structure Yes Yes
Public Sharing N/A Yes

 

[.env 파일]

###################################################################################
# Database
###################################################################################

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

# Optional Database settings:
# DB_PORT=5432

###################################################################################
# Redis
###################################################################################

REDIS_HOSTNAME=immich_redis

# Optional Redis settings:
# REDIS_PORT=6379
# REDIS_DBINDEX=0
# REDIS_PASSWORD=
# REDIS_SOCKET=

###################################################################################
# Upload File Location
#
# This is the location where uploaded files are stored.
###################################################################################

UPLOAD_LOCATION=./upload

###################################################################################
# Reverse Geocoding
#
# Reverse geocoding is done locally which has a small impact on memory usage
# This memory usage can be altered by changing the REVERSE_GEOCODING_PRECISION variable
# This ranges from 0-3 with 3 being the most precise
# 3 - Cities > 500 population: ~200MB RAM
# 2 - Cities > 1000 population: ~150MB RAM
# 1 - Cities > 5000 population: ~80MB RAM
# 0 - Cities > 15000 population: ~40MB RAM
####################################################################################

# DISABLE_REVERSE_GEOCODING=false
# REVERSE_GEOCODING_PRECISION=3

####################################################################################
# WEB - Optional
#
# Custom message on the login page, should be written in HTML form.
# For example:
# PUBLIC_LOGIN_PAGE_MESSAGE="This is a demo instance of Immich.<br><br>Email: <i>demo@demo.de</i><br>Password: <i>demo</i>"
####################################################################################

PUBLIC_LOGIN_PAGE_MESSAGE=

####################################################################################
# Alternative Service Addresses - Optional
#
# This is an advanced feature for users who may be running their immich services on different hosts.
# It will not change which address or port that services bind to within their containers, but it will change where other services look for their peers.
# Note: immich-microservices is bound to 3002, but no references are made
####################################################################################

IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

####################################################################################
# Alternative API's External Address - Optional
#
# This is an advanced feature used to control the public server endpoint returned to clients during Well-known discovery.
# You should only use this if you want mobile apps to access the immich API over a custom URL. Do not include trailing slash.
# NOTE: At this time, the web app will not be affected by this setting and will continue to use the relative path: /api
# Examples: http://localhost:3001, http://immich-api.example.com, etc
####################################################################################

#IMMICH_API_URL_EXTERNAL=http://localhost:3001

TYPESENSE_API_KEY=some-random-text

 

[docker-compose.yml 파일]

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-server.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-microservices.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: altran1502/immich-machine-learning:release
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - model-cache:/cache
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    restart: always

  immich-web:
    container_name: immich_web
    image: altran1502/immich-web:release
    entrypoint: [ "/bin/sh", "./entrypoint.sh" ]
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

  immich-proxy:
    container_name: immich_proxy
    image: altran1502/immich-proxy:release
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always
    
  typesense:
    container_name: immich_typesense
    image: typesense/typesense:0.24.0
    environment:
      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
      - TYPESENSE_DATA_DIR=/data
    logging:
      driver: none
    volumes:
      - ./data:/data

volumes:
  pgdata:
  model-cache:

http://아이피:2283

[안드로이드]

[아이폰]

728x90

'Cloud > Oracle Cloud' 카테고리의 다른 글

11. 오라클 클라우드 fileBrowser 설치  (0) 2023.03.31
1. 오라클 클라우드 가입  (0) 2023.03.31
728x90

오라클 클라우드 fileBrowser 설치

웹에서 쓸수 있는 간단한 파일 어플리케이션이다.

https://filebrowser.org/

 

Welcome - File Browser

Welcome to File Browser's official documentation. Here you can find probably anything you need to know about the configuration of your instance, the usage and the contributing guidelines. Are you ready to get into this boat? 🚢

filebrowser.org

[docker-compose.yml]

version: "3"

services:
  filebrowser:
    image: hurlenko/filebrowser
    user: "${UID}:${GID}"
    ports:
      - 443:8080
    volumes:
      - /DATA_DIR:/data
      - /CONFIG_DIR:/config
    environment:
      - FB_BASEURL=/filebrowser
    restart: always

http:아이피:8282

[기본 계정]

아이디 : admin

암호 : admin

[암호 변경]

 

728x90
728x90

오라클 클라우드 가입하기

 

1. 오라클클라우드를 가입하기 위해 오라클클라우드 사이트에 들어간다.

https://www.oracle.com/kr/cloud/free/

오라클클라우드 가입 페이지

2. 무료로 시작하기 클릭

계정 정보 생성 페이지

3. 계정 정보를 입력하고 내 전자메일 확인을 클릭

   메일에 들어가면 메일 주소 확인 메일이 온다. Click Here를 눌러 다음 단계를 진행한다.

메일 확인

4. 해외결재가 가능한 카드 및 주소를 입력 후 해당 신용카드가 유효한지 1$ 결재뒤 취소된다.

   카드 정보를 입력했다고해서 서비스 사용 제한이 넘으면 자동 결재가 되지 않으니 안심해도된다.

   사용 중 사용자가 유료 서비스 필요시 유료 서비스로 전환해야 실제 청구가 된다.

   무료서비스로 최대 2개 서버 및 200Gb 용량, 10Tb 트래픽이 제공되므로 무료로 평생 서버를 운영할 수 있따.

   (현재 2023-03-31 기준으로 정책이 변해서 서버의 트래픽이 50% 미만 또는 CPU 90%를 사용하지 않으면 서버가 정지되는것 같다.)

 

5. 서버 IDC는 서울과 춘천이 선택 가능하다.

728x90

+ Recent posts