From b7ce4d04baf5523fa30860e897054654a050623d Mon Sep 17 00:00:00 2001 From: slashtechno <77907286+slashtechno@users.noreply.github.com> Date: Thu, 8 Aug 2024 09:06:40 -0400 Subject: [PATCH] revert spacing to what it was before --- docker-compose.yml | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 329db7d25..83f0fcc31 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,23 +1,21 @@ -# TL;DR: # Running `docker-compose up` will create/use the "trilium-data" directory in the user home # Run `TRILIUM_DATA_DIR=/path/of/your/choice docker-compose up` to set a different directory # To run in the background, use `docker-compose up -d` - services: - trilium: - # Optionally, replace `latest` with a version tag like `v0.90.3` - # Using `latest` may cause unintended updates to the container - image: triliumnext/notes:latest - # Restart the container unless it was stopped by the user - restart: unless-stopped - environment: - - TRILIUM_DATA_DIR=/home/node/trilium-data - ports: - # By default, Trilium will be available at http://localhost:8080 - # It will also be accessible at http://:8080 - # You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules, such as UFW - - '8080:8080' - volumes: - # Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory. - # This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data - - ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data + trilium: + # Optionally, replace `latest` with a version tag like `v0.90.3` + # Using `latest` may cause unintended updates to the container + image: triliumnext/notes:latest + # Restart the container unless it was stopped by the user + restart: unless-stopped` + environment: + - TRILIUM_DATA_DIR=/home/node/trilium-data + ports: + # By default, Trilium will be available at http://localhost:8080 + # It will also be accessible at http://:8080 + # You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules, such as UFW + - '8080:8080' + volumes: + # Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory. + # This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data + - ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data