adds various docker services
This commit is contained in:
parent
4c283bf58d
commit
6eeace47ec
@ -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, ... }:
|
||||
|
@ -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
|
||||
|
||||
|
@ -5,7 +5,7 @@ services:
|
||||
environment:
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- ./data:/config
|
||||
- /mnt/services/sabnzbd:/config
|
||||
- /mnt:/storage
|
||||
ports:
|
||||
- 7788:8080
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -19,7 +19,7 @@ services:
|
||||
environment:
|
||||
- PEERS=s24,pc,laptop
|
||||
volumes:
|
||||
- ./data:/config
|
||||
- /mnt/services/wireguard/data:/config
|
||||
ports:
|
||||
- 51820:51820/udp
|
||||
sysctls:
|
||||
|
Loading…
x
Reference in New Issue
Block a user