Commit f988fbd0 authored by Profpatsch's avatar Profpatsch

containers: a few minimal changes for postgres & rabbit

parent a637c8f5
...@@ -117,7 +117,7 @@ in { ...@@ -117,7 +117,7 @@ in {
# TODO: this is a bit long, refactor! # TODO: this is a bit long, refactor!
dockerConfig = dockerConfig =
let let
dockerCmd = "postgres"; dockerCmd = "/bin/postgres";
dbDir = "/database"; dbDir = "/database";
dockerImage = dockerImage =
......
...@@ -46,7 +46,7 @@ in { ...@@ -46,7 +46,7 @@ in {
image = pkgs.helpers.createStandaloneDockerImage { image = pkgs.helpers.createStandaloneDockerImage {
name = "sangha-rabbitmq"; name = "sangha-rabbitmq";
tag = "unstable"; tag = "deployment";
description = "TODO"; description = "TODO";
contents = [ contents = [
...@@ -55,12 +55,13 @@ in { ...@@ -55,12 +55,13 @@ in {
# 11M that can probably be avoided # 11M that can probably be avoided
pkgs.coreutils pkgs.coreutils
pkgs.gnused pkgs.gnused
# erlang shells out in a library function m(
sh-minimal sh-minimal
]; ];
config = { config = {
User = userName; User = userName;
Cmd = [ "rabbitmq-server" ]; Cmd = [ "/bin/rabbitmq-server" ];
Env = [ Env = [
# logs to stdout # logs to stdout
"RABBITMQ_LOGS=-" "RABBITMQ_LOGS=-"
......
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 { stdenv, buildGoPackage, fetchgit }:
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec { buildGoPackage rec {
name = "sangha-unstable-${version}"; 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