diff --git a/collector/Dockerfile b/collector/Dockerfile
index 0b783d99c51830817d5505c09147f128dbcb4174..2581bb0f96a3f0ef49ebb9f3857972e68c945e1f 100644
--- a/collector/Dockerfile
+++ b/collector/Dockerfile
@@ -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
diff --git a/collector/sql.pm b/collector/sql.pm
index 516257fd308ac00340efabfcb9e8751701c4f90d..be768e3e6260bd31118b8d4b30ebe87e4352800a 100644
--- a/collector/sql.pm
+++ b/collector/sql.pm
@@ -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;
diff --git a/docker-compose.yml b/docker-compose.yml
index 44a981afa2ee70be90694836e2f3154d3e01b200..ec74c3e876ec06e4f231d5e39eeaf132e378612b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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: