variant: fcos version: 1.5.0 passwd: users: - name: vladan ssh_authorized_keys: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFtUc2UvKFGSSlP3RRXUIToDYh8a8pg5DqDkJS+nBTG vladan@jenga password_hash: "$y$j9T$kBtBBkINmXh6lxmBqCJkr1$bA1fjZ5pC4CUr6VUnRe2FAWrW5tb6lfX/7.38axa5S3" groups: - wheel shell: /bin/bash storage: disks: - device: /dev/vdb wipe_table: false partitions: - number: 1 label: forgejo start_mib: 0 size_mib: 30000 filesystems: - path: /var/lib/forgejo device: /dev/disk/by-partlabel/forgejo format: xfs label: data with_mount_unit: true wipe_filesystem: false files: - path: /etc/hostname mode: 0644 contents: inline: forge.hklbgd.org - path: /etc/forgejo/app.ini contents: local: app.ini - path: /etc/containers/systemd/forgejo.container contents: inline: | [Unit] Description=Forgejo: Beyond coding. We forge. After=network-online.target Wants=network-online.target [Service] TimeoutStartSec=60 [Container] ContainerName=forgejo Image=codeberg.org/forgejo/forgejo:1.21.5-0 Volume=/var/lib/forgejo:/data:z Volume=/etc/forgejo/app.ini:/data/gitea/conf/app.ini:z PublishPort=3000:3000 PublishPort=3022:22 [Install] # Start by default on boot WantedBy=multi-user.target default.target