Nextcloud

๐Ÿ“ฑโ˜๏ธ๐Ÿ’ป A safe home for all your data – community-driven, free & open source ๐Ÿ‘ - Nextcloud

github.com

 

๋„ฅ์ŠคํŠธ ํด๋ผ์šฐ๋“œ๋Š” ๊ฐœ์ธ์šฉ ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค๋กœ, ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜์—ฌ ์‚ฌ์šฉ์ž์—๊ฒŒ ํŽธ์˜๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ์ด ์„œ๋น„์Šค๋Š” ์—ฐ๋ฝ์ฒ˜, ์บ˜๋ฆฐ๋”, ์‚ฌ์ง„ ๋ทฐ์–ด, ํˆฌ๋‘ ๋ฆฌ์ŠคํŠธ ๋“ฑ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ํฌํ•จํ•˜๊ณ  ์žˆ์–ด์„œ, ๋„ฅ์ŠคํŠธ ํด๋ผ์šฐ๋“œ ํ•˜๋‚˜๋กœ ๋ชจ๋“  ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

 

๊ทธ๋Ÿฌ๋‚˜ ๋„ฅ์ŠคํŠธ ํด๋ผ์šฐ๋“œ๋Š” ๋ฒ„๊ทธ๊ฐ€ ๋งŽ์•„์„œ ์•ˆ์ •์„ฑ์ด ์ข‹์ง€ ์•Š์€ ํŽธ์ž…๋‹ˆ๋‹ค. ์—…๋ฐ์ดํŠธ๋ฅผ ์ง„ํ–‰ํ•˜๋‹ค๊ฐ€ ์‚ฌ์šฉ์ž ๊ฐœ์ธ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์†์ƒ์‹œํ‚ฌ ์ •๋„๋กœ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๊ธฐ๋„ ํ•ฉ๋‹ˆ๋‹ค. ๋˜ํ•œ ์„œ๋ฒ„ ์•”ํ˜ธํ™”๋‚˜ ์—”๋“œ ํˆฌ ์—”๋“œ ์•”ํ˜ธํ™” (e2ee)๋ฅผ ์ง€์›ํ•˜์ง€๋งŒ, ์ด ๊ธฐ๋Šฅ๋“ค์€ ๋งค์šฐ ๋ถˆ์•ˆ์ •ํ•˜๊ณ  ์ œ๋Œ€๋กœ ์ž‘๋™ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

 

๊ฐœ์ธ์ ์œผ๋กœ ๋„ฅ์ŠคํŠธ ํด๋ผ์šฐ๋“œ๋ฅผ ๋ฐ˜๋…„ ์ •๋„ ์‚ฌ์šฉํ•ด๋ณด์•˜์ง€๋งŒ ์ถ”์ฒœํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹ ์— Filestash๋ผ๋Š” ์„œ๋น„์Šค๋ฅผ ์ถ”์ฒœํ•˜๊ณ  ๋‹ค๋ฅธ ๊ธฐ๋Šฅ์€ ๋ณ„๋„๋กœ ๊ตฌ์„ฑํ•˜๊ธธ ๊ถŒํ•ฉ๋‹ˆ๋‹ค.

 

 

version: '2'

volumes:
  nextcloud:
  db:

services:
  db:
    image: mariadb:10.5
    restart: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    volumes:
      - /share/Backup/Nextcloud/db:/var/lib/mysql
    network_mode: bridge
    environment:
      - MYSQL_ROOT_PASSWORD=๋น„๋ฒˆ
      - MYSQL_PASSWORD=๋น„๋ฒˆ
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - TZ=Asia/Seoul

  app:
    image: nextcloud:apache
    restart: always
    network_mode: bridge
    ports:
      - 14400:80
    links:
      - db
    volumes:
      - /share/Backup/Nextcloud:/var/www/html
      - ./app:/var/www/html/custom_apps 
      - ./config:/var/www/html/config 
      - ./data:/var/www/html/data 
    environment:
      - MYSQL_PASSWORD=๋น„๋ฒˆ
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db
      - NEXTCLOUD_ADMIN_USER=nextcloud
      - NEXTCLOUD_ADMIN_PASSWORD=๋น„๋ฒˆ
      - NEXTCLOUD_TRUSTED_DOMAINS=๋„๋ฉ”์ธ
      - OVERWRITEHOST=๋„๋ฉ”์ธ
      - OVERWRITEPROTOCOL=https
      - OVERWRITECLIURL=https://๋„๋ฉ”์ธ
      - PHP_MEMORY_LIMIT=4G
      - PHP_UPLOAD_LIMIT=16G
      - TZ=Asia/Seoul