nix-configurations/hosts/lkk-nix-1/services/docker-containers/baserow.nix

34 lines
1.0 KiB
Nix

{ config, inputs, settings, ... }: {
age.secrets.mj-smtp-user.file = ../../../../secrets/mj-smtp-user.age;
age.secrets.mj-smtp-pass.file = ../../../../secrets/mj-smtp-pass.age;
virtualisation.arion = {
backend = "docker"; #//TODO continue here
# projects = {
# "baserow" = settings.services."baserow".service = {
# image = "";
# restart = "unless-stopped";
# environment = {
# BASEROW_PUBLIC_URL = "https://br.lanakk.com";
# POSTGRES_USER = "baserow";
# POSTGRES_PASSWORD = "baserow";
# POSTGRES_DB = "baserow";
# DATABASE_HOST = "postgres";
# DATABASE_NAME = "baserow";
# DATABASE_USER = "baserow";
# DATABASE_PASSWORD = "baserow";
# DATABASE_PORT = "5432";
# FROM_EMAIL = "hi@lanakk.com";
# EMAIL_SMTP = "in-v3.mailjet.com";
# EMAIL_SMTP_HOST = "in-v3.mailjet.com";
# EMAIL_SMTP_PORT = "587";
# EMAIL_SMTP_USER = config.age.secrets.mj-smtp-user.path;
# EMAIL_SMTP_PASSWORD = config.age.secrets.mj-smtp-pass.path;
# };
# };
# };
};
}