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:
bancomart:
ansible_host: bancomart.dmz
vpay:
ansible_host: vpay.dmz
# vpay:
# ansible_host: vpay.dmz

View file

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

View file

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