From 06a5ca7d3b7dfe18ffb099ef8f1a64688e36af60 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Fri, 22 May 2026 15:16:06 +0200 Subject: [PATCH] Rename containers and update git-sync configuration --- examples/obsidian-ignis/docker-compose.yml | 32 ++++++++++++++-------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/examples/obsidian-ignis/docker-compose.yml b/examples/obsidian-ignis/docker-compose.yml index ce829f6..57a0254 100644 --- a/examples/obsidian-ignis/docker-compose.yml +++ b/examples/obsidian-ignis/docker-compose.yml @@ -2,7 +2,7 @@ services: ignis: image: nobbe/ignis:latest - container_name: ignis + container_name: obsidian-ignis ports: - "8080:8080" expose: @@ -27,17 +27,27 @@ services: # - traefik.http.routers.ignis.middlewares=authentik@docker git-sync: - image: l4rm4nd/git-sync:latest - container_name: ignis-git-sync + image: ubuntu/git-sync:4.5-24.04_stable + container_name: obsidian-git-sync restart: unless-stopped - user: 1000:1000 + user: "1000:1000" + entrypoint: ["git-sync"] + command: + - "--repo=${GITSYNC_REPO:?please define the repo to sync}" + - "--root=/vaults/.git-sync" + - "--link=/vaults/current" + - "--period=${GITSYNC_PERIOD:-30s}" + - "--ref=${GITSYNC_REF:-HEAD}" + - "--max-failures=-1" + - "--verbose=5" environment: - - GIT_SYNC_USERNAME=${GIT_SYNC_USERNAME:-gituser} - - GIT_SYNC_PASSWORD=${GIT_SYNC_PASSWORD:-gitsyncpw} - - GIT_SYNC_PERIOD=${GIT_SYNC_PERIOD:-30s} - - GIT_SYNC_REPO=${GIT_SYNC_REPO} - - GIT_SYNC_ROOT=${GIT_SYNC_ROOT} + - GITSYNC_USERNAME=${GITSYNC_USERNAME:-gituser} + - GITSYNC_PASSWORD=${GITSYNC_PASSWORD:-gitsyncpw} volumes: - - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ignis/vaults:/tmp/git/root + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ignis/vaults:/vaults #networks: - # - proxy \ No newline at end of file + # - proxy + +#networks: +# proxy: +# external: true