Rename containers and update git-sync configuration
CI / validateComposeSyntax (push) Failing after 11s

This commit is contained in:
LRVT
2026-05-22 15:16:06 +02:00
committed by GitHub
parent 5ef1fae904
commit 06a5ca7d3b
+20 -10
View File
@@ -2,7 +2,7 @@ services:
ignis: ignis:
image: nobbe/ignis:latest image: nobbe/ignis:latest
container_name: ignis container_name: obsidian-ignis
ports: ports:
- "8080:8080" - "8080:8080"
expose: expose:
@@ -27,17 +27,27 @@ services:
# - traefik.http.routers.ignis.middlewares=authentik@docker # - traefik.http.routers.ignis.middlewares=authentik@docker
git-sync: git-sync:
image: l4rm4nd/git-sync:latest image: ubuntu/git-sync:4.5-24.04_stable
container_name: ignis-git-sync container_name: obsidian-git-sync
restart: unless-stopped 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: environment:
- GIT_SYNC_USERNAME=${GIT_SYNC_USERNAME:-gituser} - GITSYNC_USERNAME=${GITSYNC_USERNAME:-gituser}
- GIT_SYNC_PASSWORD=${GIT_SYNC_PASSWORD:-gitsyncpw} - GITSYNC_PASSWORD=${GITSYNC_PASSWORD:-gitsyncpw}
- GIT_SYNC_PERIOD=${GIT_SYNC_PERIOD:-30s}
- GIT_SYNC_REPO=${GIT_SYNC_REPO}
- GIT_SYNC_ROOT=${GIT_SYNC_ROOT}
volumes: volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ignis/vaults:/tmp/git/root - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ignis/vaults:/vaults
#networks: #networks:
# - proxy # - proxy
#networks:
# proxy:
# external: true