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.
|
# TODO: Import all the package modules, disabled for testing one by one.
|
||||||
# { config, pkgs, ... }:
|
# { config, pkgs, ... }:
|
||||||
|
@ -16,7 +16,7 @@ services:
|
|||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/gittea:/data
|
- /mnt/services/gitea/gitea:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
@ -33,7 +33,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=gitea
|
- POSTGRES_PASSWORD=gitea
|
||||||
- POSTGRES_DB=gitea
|
- POSTGRES_DB=gitea
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/postgres:/var/lib/postgresql/data
|
- /mnt/services/gitea/postgres:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Amsterdam
|
- TZ=Europe/Amsterdam
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/config
|
- /mnt/services/sabnzbd:/config
|
||||||
- /mnt:/storage
|
- /mnt:/storage
|
||||||
ports:
|
ports:
|
||||||
- 7788:8080
|
- 7788:8080
|
||||||
|
@ -15,14 +15,14 @@ services:
|
|||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
## Keep configs, scrapers, and plugins here.
|
## Keep configs, scrapers, and plugins here.
|
||||||
- ./data/config:/root/.stash
|
- /mnt/services/stash/config:/root/.stash
|
||||||
## Point this at your collection.
|
## Point this at your collection.
|
||||||
- /mnt/stash:/data
|
- /mnt/stash:/data
|
||||||
## This is where your stash's metadata lives
|
## This is where your stash's metadata lives
|
||||||
- ./data/metadata:/metadata
|
- /mnt/services/stash/metadata:/metadata
|
||||||
## Any other cache content.
|
## Any other cache content.
|
||||||
- ./data/cache:/cache
|
- /mnt/services/stash/cache:/cache
|
||||||
## Where to store binary blob data (scene covers, images)
|
## 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)
|
## 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
|
- 6881:6881/udp
|
||||||
- 8085:8085
|
- 8085:8085
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/gluetun:/gluetun
|
- /mnt/services/torrent/gluetun:/gluetun
|
||||||
environment:
|
environment:
|
||||||
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
|
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
|
||||||
- OPENVPN_USER=${OPENVPN_USER}
|
- OPENVPN_USER=${OPENVPN_USER}
|
||||||
@ -28,7 +28,7 @@ services:
|
|||||||
- WEBUI_PORT=8085
|
- WEBUI_PORT=8085
|
||||||
volumes:
|
volumes:
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- ./data/qbit:/config
|
- /mnt/services/torrent/qbit-config:/config
|
||||||
- /mnt:/storage
|
- /mnt:/storage
|
||||||
depends_on:
|
depends_on:
|
||||||
- gluetun
|
- gluetun
|
||||||
|
@ -19,7 +19,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- PEERS=s24,pc,laptop
|
- PEERS=s24,pc,laptop
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/config
|
- /mnt/services/wireguard/data:/config
|
||||||
ports:
|
ports:
|
||||||
- 51820:51820/udp
|
- 51820:51820/udp
|
||||||
sysctls:
|
sysctls:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user