Skip to content
Snippets Groups Projects
Commit 86cc5505 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Tweaks

parent 8d835f44
No related branches found
No related tags found
No related merge requests found
......@@ -8,5 +8,5 @@ RUN chown -R bfa /home/bfa
USER bfa
WORKDIR /home/bfa
ENV BFANODE http://public.47525974938.bfa.martin-legene.dk:8545/
#CMD /home/bfa/collector/collector.sh
CMD sleep 14d
CMD /home/bfa/collector/collector.pl
#CMD sleep 14d
......@@ -15,7 +15,7 @@ sub new
my ( $class ) = @_;
my $self = bless {}, ref $class || $class;
$self->dbh( DBI->connect(
'dbi:Pg:dbname=postgres;host=postgres','postgres','onlythelonely',
'dbi:Pg:dbname=postgres;host=postgres','postgres',$ENV{'POSTGRES_PASSWORD'},
{AutoCommit=>0,RaiseError=>1}
));
return $self;
......
......@@ -14,7 +14,9 @@ services:
environment:
POSTGRES_PASSWORD: onlythelonely
volumes:
- blockdb_postgres:/var/lib/postgresql
- pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
collector:
build: collector
......@@ -30,4 +32,4 @@ services:
# - 8080:8080
volumes:
blockdb_postgres:
pgdata:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment