about summary refs log tree commit diff
path: root/users/grfn/bbbg/arion-compose.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/bbbg/arion-compose.nix')
-rw-r--r--users/grfn/bbbg/arion-compose.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/users/grfn/bbbg/arion-compose.nix b/users/grfn/bbbg/arion-compose.nix
new file mode 100644
index 000000000000..c8a6dd156d2c
--- /dev/null
+++ b/users/grfn/bbbg/arion-compose.nix
@@ -0,0 +1,15 @@
+{ ... }:
+
+{
+  services = {
+    postgres.service = {
+      image = "postgres:12";
+      environment = {
+        POSTGRES_DB = "bbbg";
+        POSTGRES_USER = "bbbg";
+        POSTGRES_PASSWORD = "password";
+      };
+      ports = [ "5432:5432" ];
+    };
+  };
+}