diff --git a/bootc/scenario1/root/etc/containers/systemd/nextcloud-fpm.container b/bootc/scenario1/root/etc/containers/systemd/nextcloud-fpm.container index f45a57b..0be28ba 100644 --- a/bootc/scenario1/root/etc/containers/systemd/nextcloud-fpm.container +++ b/bootc/scenario1/root/etc/containers/systemd/nextcloud-fpm.container @@ -12,7 +12,10 @@ ConditionPathExists=/etc/containers/systemd/configs/nextcloud-config.env [Container] ContainerName=nextcloud-app -Image=docker.io/library/odoo:17 +Image=docker.io/library/nextcloud:31-fpm-alpine + +# Fix the UID/GID of the PHP-FPM daemon +User=82:82 # Network configuration Network=host diff --git a/flightctl/fleets.yaml b/flightctl/fleets.yaml new file mode 100644 index 0000000..24395b4 --- /dev/null +++ b/flightctl/fleets.yaml @@ -0,0 +1,28 @@ +apiVersion: flightctl.io/v1alpha1 +kind: Fleet +metadata: + annotations: + labels: + scenario: '1' + name: scenario1 +spec: + selector: + matchLabels: + scenario: '1' + template: + metadata: + labels: + fleet: scenario1 + spec: + applications: [] + config: [] + os: + image: edge-registry.itix.fr/demo-edge-retail/scenario1:latest + config: + - name: scenario1-config + configType: GitConfigProviderSpec + gitRef: + path: /flightctl/overlays/{{ getOrDefault .status.systemInfo "hostname" "default" }}/scenario1 + repository: demo-edge-retail + targetRevision: main + diff --git a/flightctl/repositories.yaml b/flightctl/repositories.yaml new file mode 100644 index 0000000..e82d211 --- /dev/null +++ b/flightctl/repositories.yaml @@ -0,0 +1,9 @@ +apiVersion: flightctl.io/v1alpha1 +kind: Repository +metadata: + annotations: {} + labels: {} + name: demo-edge-retail +spec: + url: https://github.com/nmasse-itix/demo-edge-retail.git + type: git