From 3561b6d86c329272b1825adaf3ca49c9aff76119 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 12 Feb 2026 21:24:22 +0100 Subject: Refactor - Remove cgit files; pull cgit image from Docker Hub instead of building locally - Tidy up file hierarchy - Minor fixes and edits --- compose.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'compose.yaml') diff --git a/compose.yaml b/compose.yaml index 9b148eb..3149e8c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,9 +2,12 @@ name: net_services services: nginx: - image: nginx:${COMPOSE_PROJECT_NAME} build: context: services/nginx + dockerfile_inline: | + FROM nginx:1.29.4-trixie + ADD fs.tar.gz / + CMD ["/sbin/cmd.bash"] environment: - NGINX__HOST=${NGINX__HOST} networks: @@ -16,15 +19,15 @@ services: tmpfs: - /run/secrets:mode=400 volumes: - - ${HOST__CERT_DIR:?}:/run/host_secrets:ro + - ${HOST__SECRET_DIR:?}:/run/host_secrets:ro depends_on: - cgit - radicale cgit: - image: cgit:${COMPOSE_PROJECT_NAME} build: - context: services/cgit + dockerfile_inline: | + FROM tvanbesi/cgit:v1.0 networks: - cgit volumes: @@ -34,9 +37,12 @@ services: - ${HOST__GIT_REPO_DIR:?}:/srv/git:ro radicale: - image: tomsquest/docker-radicale:tvcloud build: context: services/radicale + dockerfile_inline: | + FROM tomsquest/docker-radicale:3.5.10.0 + ADD fs.tar.gz / + CMD ["su-exec", "radicale", "/sbin/cmd.sh"] environment: - TAKE_FILE_OWNERSHIP=false init: true -- cgit v1.2.3