Compare commits
1 commit
7ff9edeefa
...
96a3d5af6d
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | 96a3d5af6d |
|
@ -1,7 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
let inherit (pkgs) dockerTools;
|
||||
in {
|
||||
{
|
||||
users = {
|
||||
extraUsers.gitea = {
|
||||
uid = config.ids.uids.git;
|
||||
|
@ -20,14 +19,6 @@ in {
|
|||
containers = {
|
||||
gitea = {
|
||||
image = "gitea/gitea:latest";
|
||||
imageFile = dockerTools.pullImage {
|
||||
imageName = "gitea/gitea";
|
||||
imageDigest =
|
||||
"sha256:67ccf27b427ec65fd7378d0999a3d94e9649f1953d2bb115864faa71ce7b9ec2";
|
||||
sha256 = "1nmmb14lpvk2161q2gww5hppn2sa9qcq78k04c011szx07afq2jy";
|
||||
finalImageName = "gitea/gitea";
|
||||
finalImageTag = "latest";
|
||||
};
|
||||
volumes = [ "gitea:/data:Z" "/etc/localtime:/etc/localtime:ro" ];
|
||||
dependsOn = [ "postgres" ];
|
||||
|
||||
|
@ -48,18 +39,9 @@ in {
|
|||
|
||||
postgres = {
|
||||
image = "postgres:alpine";
|
||||
imageFile = dockerTools.pullImage {
|
||||
imageName = "postgres";
|
||||
imageDigest =
|
||||
"sha256:578ca5c8452c08a4e0f5e65b55dce5e1812fe63c8fee40ea837641031598e51e";
|
||||
sha256 = "1xqg228a29qn3qmzchg65ykx7g3s2fszwp1zv24wxxy40py0bmwk";
|
||||
finalImageName = "postgres";
|
||||
finalImageTag = "alpine";
|
||||
};
|
||||
environment = {
|
||||
POSTGRES_DB = "gitea";
|
||||
POSTGRES_USER = "gitea";
|
||||
POSTGRES_PASSWORD = "insecure";
|
||||
};
|
||||
volumes = [ "gitea-postgres-14:/var/lib/postgresql/data" ];
|
||||
};
|
||||
|
|
|
@ -120,12 +120,6 @@ in {
|
|||
source.files = [ "/var/log/nginx/access.log" ];
|
||||
}];
|
||||
};
|
||||
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
port = 4003;
|
||||
url = "https://127.0.0.1:3001";
|
||||
};
|
||||
};
|
||||
|
||||
scrapeConfigs = (mapAttrsToList (name: exporter: {
|
||||
|
|
Loading…
Reference in a new issue