Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit d091950

Browse files
authored
Merge branch 'develop' into fix-arm-builds
2 parents 676bff4 + 6a45942 commit d091950

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

bin/build-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cat package.json | grep -v electron > server-package.json
1010
echo "Compiling typescript..."
1111
npx tsc
1212

13-
sudo docker build -t zadam/trilium:$VERSION --network host -t zadam/trilium:$SERIES .
13+
sudo docker build -t triliumnext/notes:$VERSION --network host -t zadam/trilium:$SERIES .
1414

1515
if [[ $VERSION != *"beta"* ]]; then
1616
sudo docker tag zadam/trilium:$VERSION zadam/trilium:latest

docker-compose.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
# Running `docker-compose up` will create/use the "trilium-data" directory in the user home
22
# Run `TRILIUM_DATA_DIR=/path/of/your/choice docker-compose up` to set a different directory
3-
version: '2.1'
3+
# To run in the background, use `docker-compose up -d`
44
services:
55
trilium:
6-
image: zadam/trilium
7-
restart: always
6+
# Optionally, replace `latest` with a version tag like `v0.90.3`
7+
# Using `latest` may cause unintended updates to the container
8+
image: triliumnext/notes:latest
9+
# Restart the container unless it was stopped by the user
10+
restart: unless-stopped
811
environment:
912
- TRILIUM_DATA_DIR=/home/node/trilium-data
1013
ports:
11-
- "8080:8080"
14+
# By default, Trilium will be available at http://localhost:8080
15+
# It will also be accessible at http://<host-ip>:8080
16+
# You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules, such as UFW
17+
- '8080:8080'
1218
volumes:
19+
# Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory.
20+
# This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data
1321
- ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data
14-
15-
volumes:
16-
trilium:

0 commit comments

Comments
 (0)