- Dockerfile: triliumnext/notes:latest에 번역+패치된 main.cjs를 구워 넣어 별도 bind-mount 없이 한국어 내장 이미지를 만듦 - install.sh: curl | bash 한 줄로 clone + build + up까지 처리 - 기존 bind-mount 방식은 docker-compose.bind-mount.yml.example로 유지 - 실제 빌드/실행/언어전환/컨테이너완전재생성까지 전부 테스트 완료
15 lines
446 B
Plaintext
15 lines
446 B
Plaintext
services:
|
|
trilium:
|
|
image: triliumnext/notes:latest
|
|
container_name: trilium
|
|
restart: unless-stopped
|
|
ports:
|
|
- '127.0.0.1:18082:8080'
|
|
environment:
|
|
- TZ=Asia/Seoul
|
|
volumes:
|
|
- ./data:/home/node/trilium-data
|
|
- ./main.cjs:/usr/src/app/main.cjs:ro
|
|
- ./translation.json:/usr/src/app/public/translations/ko/translation.json:ro
|
|
- ./server.json:/usr/src/app/assets/translations/ko/server.json:ro
|