From af8b62ed51cb1fc28a89061e0049e17b01410136 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Mon, 12 Feb 2024 21:29:36 +0000 Subject: [PATCH] Dateien nach "install-trilium-on-portainer" hochladen --- .../docker-compose.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 install-trilium-on-portainer/docker-compose.yml diff --git a/install-trilium-on-portainer/docker-compose.yml b/install-trilium-on-portainer/docker-compose.yml new file mode 100644 index 0000000..b17971f --- /dev/null +++ b/install-trilium-on-portainer/docker-compose.yml @@ -0,0 +1,36 @@ +version: "3" # Specifies the version of the Docker Compose file format + +# Service definitions for the big-bear-trilium application +services: + # Service name: trilium + # The `trilium` service definition + trilium: + # Name of the container + container_name: M_Viper-trilium + + # Image to be used for the container + image: zadam/trilium:0.62.6 + + # Container restart policy + restart: unless-stopped + + # Environment variables + environment: + - TRILIUM_DATA_DIR=/home/node/trilium-data + + # Volumes to be mounted to the container + volumes: + # Mounting the local trilium_data directory to /home/node/trilium-data inside the container + - trilium_data:/home/node/trilium-data + + # Ports mapping between host and container + ports: + # Mapping port 8080 of the host to port 8080 of the container + - "8080:8080" + +# Volumes +volumes: + # Define a named volume for data persistence + trilium_data: + # Use the local storage driver + driver: local