generated from ublue-os/image-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile.storage
64 lines (48 loc) · 2.56 KB
/
Containerfile.storage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
FROM ghcr.io/ublue-os/ucore-minimal:stable-zfs@sha256:78a350c5a8f48cd8f78beb950719807e2bc1a6a2fc6b415a00ca9bd1bccb113f
ARG HOST
COPY .sops.yaml /usr/share/sops/
# Apps - Filebrowser
COPY apps/filebrowser/filebrowser.container /usr/share/containers/systemd/
COPY apps/filebrowser/filebrowser.volume /usr/share/containers/systemd/
# Apps - Kopia
COPY apps/kopia/kopia.container /usr/share/containers/systemd/
COPY apps/kopia/kopia-cache.volume /usr/share/containers/systemd/
COPY apps/kopia/kopia-logs.volume /usr/share/containers/systemd/
# Apps - Minio
COPY apps/minio/minio.container /usr/share/containers/systemd/
COPY apps/minio/config.sops.env /usr/share/minio/config.sops.env
# Apps - NFS-server
COPY apps/nfs-server/nas-shares.exports /usr/etc/exports/nas-shares.exports
# Apps - Node-exporter
COPY apps/node-exporter/node-exporter.container /usr/share/containers/systemd/
# Apps - Podman-exporter
COPY apps/podman-exporter/podman-exporter.container /usr/share/containers/systemd/
# Apps - Resilio-sync
COPY apps/resilio-sync/resilio-sync-claude.container /usr/share/containers/systemd/
COPY apps/resilio-sync/resilio-sync-helene.container /usr/share/containers/systemd/
COPY apps/resilio-sync/resilio-sync-claude.volume /usr/share/containers/systemd/
COPY apps/resilio-sync/resilio-sync-helene.volume /usr/share/containers/systemd/
COPY apps/resilio-sync/config/claude.conf /usr/etc/resilio-sync/claude.conf
COPY apps/resilio-sync/config/helene.conf /usr/etc/resilio-sync/helene.conf
# Apps - Scrutiny-collector
COPY apps/scrutiny-collector/storage.container /usr/share/containers/systemd/scrutiny-collector.container
COPY apps/scrutiny-collector/storage.sops.env /usr/share/scrutiny-collector/config.sops.env
# Apps - Traefik
COPY apps/traefik/traefik.container /usr/share/containers/systemd/
COPY apps/traefik/traefik.volume /usr/share/containers/systemd/
COPY apps/traefik/config.sops.env /usr/share/traefik/config.sops.env
COPY apps/traefik/config/storage.yaml /usr/etc/traefik/traefik.yaml
# Apps - Ucore
COPY apps/ucore/lib/common_utils.sops.sh /usr/share/ucore/common_utils.sops.sh
COPY apps/ucore/ucore-update.sh /usr/sbin/ucore-update.sh
# Apps - Zrepl
COPY apps/zrepl /tmp/apps/zrepl
COPY systemd/zrepl-secrets.service /etc/systemd/system/
COPY systemd/ucore-update* /etc/systemd/system/
COPY systemd/ucore-firewalld-setup-storage.service /etc/systemd/system/ucore-firewalld-setup.service
COPY systemd/ucore-zfs-kernel.service /etc/systemd/system/
COPY systemd/brew* /etc/systemd/system/
COPY scripts /tmp/
RUN /tmp/install.sh && \
/tmp/post-install.sh && \
ostree container commit