diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-12 21:24:22 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-13 01:57:39 +0100 |
| commit | 3561b6d86c329272b1825adaf3ca49c9aff76119 (patch) | |
| tree | fb8bd4148a7ddca115878b96326a6d6c96c6776f /compose.yaml | |
| parent | 6c22a6e48e8ff49a69434eca7a7b78158576cb7b (diff) | |
| download | net_services-3561b6d86c329272b1825adaf3ca49c9aff76119.tar.gz net_services-3561b6d86c329272b1825adaf3ca49c9aff76119.zip | |
Refactor
- Remove cgit files; pull cgit image from Docker Hub instead of building
locally
- Tidy up file hierarchy
- Minor fixes and edits
Diffstat (limited to 'compose.yaml')
| -rw-r--r-- | compose.yaml | 16 |
1 files changed, 11 insertions, 5 deletions
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 |
