Commit f988fbd0 authored by Profpatsch's avatar Profpatsch

containers: a few minimal changes for postgres & rabbit

parent a637c8f5
......@@ -117,7 +117,7 @@ in {
# TODO: this is a bit long, refactor!
dockerConfig =
let
dockerCmd = "postgres";
dockerCmd = "/bin/postgres";
dbDir = "/database";
dockerImage =
......
......@@ -46,7 +46,7 @@ in {
image = pkgs.helpers.createStandaloneDockerImage {
name = "sangha-rabbitmq";
tag = "unstable";
tag = "deployment";
description = "TODO";
contents = [
......@@ -55,12 +55,13 @@ in {
# 11M that can probably be avoided
pkgs.coreutils
pkgs.gnused
# erlang shells out in a library function m(
sh-minimal
];
config = {
User = userName;
Cmd = [ "rabbitmq-server" ];
Cmd = [ "/bin/rabbitmq-server" ];
Env = [
# logs to stdout
"RABBITMQ_LOGS=-"
......
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "sangha-unstable-${version}";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment