19 lines
523 B
Nix
19 lines
523 B
Nix
{ ... }: {
|
|
# Containers
|
|
virtualisation.oci-containers.containers."piaware" = {
|
|
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
|
|
environment = {
|
|
FEEDER_ID = "cdca89ee-6612-4707-b0bb-ffb78d156c47";
|
|
LAT = "35.6837777585358";
|
|
LONG = "135.02715404216545";
|
|
RECEIVER_TYPE = "rtlsdr";
|
|
TZ = "Asia/Tokyo";
|
|
};
|
|
ports = [ "8080:80/tcp" ];
|
|
log-driver = "journald";
|
|
extraOptions = [
|
|
"--device=/dev/bus/usb:/dev/bus/usb"
|
|
"--network-alias=piaware"
|
|
];
|
|
};
|
|
}
|