adds various docker services

This commit is contained in:
Menno van Leeuwen 2024-11-15 23:00:00 +01:00
parent 4c283bf58d
commit 6eeace47ec
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
6 changed files with 19 additions and 12 deletions

View File

@ -1,6 +1,13 @@
{ ... }:
{
imports = [ ./minecraft.nix ];
imports = [
./minecraft.nix
./wireguard.nix
./torrent.nix
./stash.nix
./sabnzbd.nix
./gitea.nix
];
}
# TODO: Import all the package modules, disabled for testing one by one.
# { config, pkgs, ... }:

View File

@ -16,7 +16,7 @@ services:
image: gitea/gitea:latest
restart: always
volumes:
- ./data/gittea:/data
- /mnt/services/gitea/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
@ -33,7 +33,7 @@ services:
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
volumes:
- ./data/postgres:/var/lib/postgresql/data
- /mnt/services/gitea/postgres:/var/lib/postgresql/data
networks:
- net

View File

@ -5,7 +5,7 @@ services:
environment:
- TZ=Europe/Amsterdam
volumes:
- ./data:/config
- /mnt/services/sabnzbd:/config
- /mnt:/storage
ports:
- 7788:8080

View File

@ -15,14 +15,14 @@ services:
- /etc/localtime:/etc/localtime:ro
## Keep configs, scrapers, and plugins here.
- ./data/config:/root/.stash
- /mnt/services/stash/config:/root/.stash
## Point this at your collection.
- /mnt/stash:/data
## This is where your stash's metadata lives
- ./data/metadata:/metadata
- /mnt/services/stash/metadata:/metadata
## Any other cache content.
- ./data/cache:/cache
- /mnt/services/stash/cache:/cache
## Where to store binary blob data (scene covers, images)
- ./data/blobs:/blobs
- /mnt/services/stash/blobs:/blobs
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./data/generated:/generated
- /mnt/services/stash/generated:/generated

View File

@ -10,7 +10,7 @@ services:
- 6881:6881/udp
- 8085:8085
volumes:
- ./data/gluetun:/gluetun
- /mnt/services/torrent/gluetun:/gluetun
environment:
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
- OPENVPN_USER=${OPENVPN_USER}
@ -28,7 +28,7 @@ services:
- WEBUI_PORT=8085
volumes:
- "/etc/localtime:/etc/localtime:ro"
- ./data/qbit:/config
- /mnt/services/torrent/qbit-config:/config
- /mnt:/storage
depends_on:
- gluetun

View File

@ -19,7 +19,7 @@ services:
environment:
- PEERS=s24,pc,laptop
volumes:
- ./data:/config
- /mnt/services/wireguard/data:/config
ports:
- 51820:51820/udp
sysctls: