swap disks on jefke

fix freshrss NFS volume mount point
remove freshrss extensions volume
disable vpay node in docker swarm
This commit is contained in:
Pim Kunis 2024-01-06 23:07:54 +01:00
parent 10dbccae97
commit 7c7b3e667b
3 changed files with 9 additions and 16 deletions

View file

@ -7,5 +7,5 @@ all:
hosts: hosts:
bancomart: bancomart:
ansible_host: bancomart.dmz ansible_host: bancomart.dmz
vpay: # vpay:
ansible_host: vpay.dmz # ansible_host: vpay.dmz

View file

@ -10,12 +10,7 @@ volumes:
driver_opts: driver_opts:
type: "nfs" type: "nfs"
o: "addr=lewis.dmz,nolock,soft,rw" o: "addr=lewis.dmz,nolock,soft,rw"
device: ":/mnt/data/freshrss/data" device: ":/mnt/data/nfs/freshrss/data"
extensions:
driver_opts:
type: "nfs"
o: "addr=lewis.dmz,nolock,soft,rw"
device: ":/mnt/data/freshrss/extensions"
services: services:
freshrss: freshrss:
@ -28,11 +23,6 @@ services:
target: /var/www/FreshRSS/data target: /var/www/FreshRSS/data
volume: volume:
nocopy: true nocopy: true
- type: volume
source: extensions
target: /var/www/FreshRSS/extensions
volume:
nocopy: true
environment: environment:
TZ: Europe/Amsterdam TZ: Europe/Amsterdam
CRON_MIN: '2,32' CRON_MIN: '2,32'

View file

@ -4,10 +4,13 @@
hostName = "jefke.hyp"; hostName = "jefke.hyp";
nixosModule.lab = { nixosModule.lab = {
dataDisk.enable = true;
terraformDatabase.enable = true; terraformDatabase.enable = true;
# k3s.enable = true; disko.osDiskDevice = "/dev/sda";
disko.osDiskDevice = "/dev/nvme0n1";
dataDisk = {
enable = true;
devicePath = "/dev/nvme0n1p1";
};
ssh = { ssh = {
useCertificates = true; useCertificates = true;