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

Commit b7ce4d0

Browse files
committed
revert spacing to what it was before
1 parent 4bc2424 commit b7ce4d0

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

docker-compose.yml

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

0 commit comments

Comments
 (0)