Apache's own pidfile write there depends on an implicit overlay copy-up succeeding, which in turn depends on the container's rootless UID mapping matching whatever the image layer was extracted under. Found failing with "(75) Value too large for defined data type" on a host whose subuid range had drifted from the fleet-standard 100000 base -- nextcloud had been running fine for days before that, since the implicit copy-up happened to work under the old mapping by coincidence, not by design. Matches indeedhub's identical --tmpfs /run precedent for the same class of baked web-server scratch directory. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
78 lines
2.0 KiB
YAML
78 lines
2.0 KiB
YAML
app:
|
|
id: nextcloud
|
|
name: Nextcloud
|
|
version: "29"
|
|
# Where this app comes from, so scripts/check-upstream-releases.py can
|
|
# tell us when the pin below has fallen behind. Without it nothing can:
|
|
# container.image names our mirror, not the project it was mirrored from.
|
|
upstream:
|
|
kind: github
|
|
repo: nextcloud/server
|
|
description: Your own private cloud. File sync, calendars, contacts.
|
|
|
|
container:
|
|
image: source.archipelago-foundation.org/lfg2025/nextcloud:29
|
|
pull_policy: if-not-present
|
|
network: pasta
|
|
|
|
dependencies:
|
|
- storage: 10Gi
|
|
|
|
resources:
|
|
memory_limit: 1Gi
|
|
disk_limit: 10Gi
|
|
|
|
security:
|
|
capabilities: [CHOWN, SETUID, SETGID, DAC_OVERRIDE, NET_BIND_SERVICE]
|
|
readonly_root: false
|
|
network_policy: isolated
|
|
|
|
ports:
|
|
- host: 8085
|
|
container: 80
|
|
protocol: tcp
|
|
bind: 127.0.0.1
|
|
auth: gated
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/nextcloud
|
|
target: /var/www/html
|
|
options: [rw]
|
|
# Writable scratch apache's own pidfile needs (matches indeedhub's
|
|
# identical --tmpfs /run precedent). Without an explicit tmpfs here,
|
|
# apache relies on an implicit overlay copy-up for /var/run/apache2,
|
|
# which depends on the container's rootless UID mapping lining up with
|
|
# whatever that layer was extracted under -- found failing with
|
|
# "(75) Value too large for defined data type" on a host whose subuid
|
|
# range had drifted from the fleet-standard 100000 base (2026-10-10).
|
|
- type: tmpfs
|
|
target: /var/run
|
|
options: [rw, nosuid, nodev, size=16m]
|
|
|
|
environment: []
|
|
|
|
health_check:
|
|
type: tcp
|
|
endpoint: localhost:80
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
interfaces:
|
|
main:
|
|
name: Web UI
|
|
description: Nextcloud file and collaboration dashboard
|
|
type: ui
|
|
port: 8085
|
|
protocol: http
|
|
path: /
|
|
|
|
metadata:
|
|
icon: /assets/img/app-icons/nextcloud.webp
|
|
category: data
|
|
author: Nextcloud
|
|
repo: https://github.com/nextcloud/server
|
|
launch:
|
|
open_in_new_tab: true
|