Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blockdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blockchain
blockdb
Commits
86cc5505
Commit
86cc5505
authored
4 years ago
by
Robert Martin-Legene
Browse files
Options
Downloads
Patches
Plain Diff
Tweaks
parent
8d835f44
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
collector/Dockerfile
+2
-2
2 additions, 2 deletions
collector/Dockerfile
collector/sql.pm
+1
-1
1 addition, 1 deletion
collector/sql.pm
docker-compose.yml
+4
-2
4 additions, 2 deletions
docker-compose.yml
with
7 additions
and
5 deletions
collector/Dockerfile
+
2
−
2
View file @
86cc5505
...
...
@@ -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
This diff is collapsed.
Click to expand it.
collector/sql.pm
+
1
−
1
View file @
86cc5505
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
4
−
2
View file @
86cc5505
...
...
@@ -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
:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment