Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
balance_tracker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
hive
balance_tracker
Merge requests
!93
CI and Dockerisation rewrite
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CI and Dockerisation rewrite
kbotor/ci-rewrite
into
develop
Overview
0
Commits
1
Pipelines
25
Changes
16
Merged
Konrad Botor
requested to merge
kbotor/ci-rewrite
into
develop
11 months ago
Overview
0
Commits
1
Pipelines
25
Changes
16
Expand
Depends on
common-ci-configuration!45 (merged)
0
0
Merge request reports
Compare
develop
version 20
c388c0d8
6 months ago
version 19
dfa32965
10 months ago
version 18
7a5fb852
10 months ago
version 17
9b6a885a
10 months ago
version 16
26d8b67e
10 months ago
version 15
b1857c12
10 months ago
version 14
93279d3a
10 months ago
version 13
0cfdb7ba
10 months ago
version 12
f1e5cc6b
10 months ago
version 11
fb0de390
10 months ago
version 10
e4d1806f
10 months ago
version 9
c4a2066a
10 months ago
version 8
c94d2097
10 months ago
version 7
d0f11f00
10 months ago
version 6
06adc6bd
11 months ago
version 5
0d7e3d03
11 months ago
version 4
9adbdf10
11 months ago
version 3
16c81216
11 months ago
version 2
8180de4c
11 months ago
version 1
a7f5005a
11 months ago
develop (base)
and
latest version
latest version
9d1cf1a3
1 commit,
6 months ago
version 20
c388c0d8
1 commit,
6 months ago
version 19
dfa32965
1 commit,
10 months ago
version 18
7a5fb852
1 commit,
10 months ago
version 17
9b6a885a
1 commit,
10 months ago
version 16
26d8b67e
1 commit,
10 months ago
version 15
b1857c12
3 commits,
10 months ago
version 14
93279d3a
2 commits,
10 months ago
version 13
0cfdb7ba
1 commit,
10 months ago
version 12
f1e5cc6b
12 commits,
10 months ago
version 11
fb0de390
11 commits,
10 months ago
version 10
e4d1806f
10 commits,
10 months ago
version 9
c4a2066a
9 commits,
10 months ago
version 8
c94d2097
8 commits,
10 months ago
version 7
d0f11f00
7 commits,
10 months ago
version 6
06adc6bd
6 commits,
11 months ago
version 5
0d7e3d03
5 commits,
11 months ago
version 4
9adbdf10
4 commits,
11 months ago
version 3
16c81216
3 commits,
11 months ago
version 2
8180de4c
2 commits,
11 months ago
version 1
a7f5005a
1 commit,
11 months ago
16 files
+
345
−
427
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
Search (e.g. *.vue) (Ctrl+P)
docker/ci/docker-compose.full.yml deleted
100644 → 0
+
0
−
99
Options
name
:
'
btracker'
services
:
haf
:
image
:
${HAF_REGISTRY:-registry.gitlab.syncad.com/hive/haf/instance}:${HAF_VERSION:-05b3e1d2}
entrypoint
:
/home/haf_admin/docker_entrypoint.sh
command
:
$${HAF_COMMAND}
environment
:
HIVED_UID
:
HAF_COMMAND
:
--shared-file-size=1G --plugin database_api --replay --stop-at-block=5000000
DATADIR
:
/home/hived/datadir
SHM_DIR
:
/home/hived/shm_dir
PG_ACCESS
:
"
host
all
all
all
trust
\n
"
ports
:
-
"
5432:5432"
volumes
:
-
haf_datadir:/home/hived/datadir
-
haf_shmdir:/home/hived/shm_dir
-
../blockchain:/home/hived/datadir/blockchain
-
../scripts/haf-healthcheck.sh:/home/hived/healthcheck.sh
networks
:
haf-network
:
healthcheck
:
test
:
[
"
CMD-SHELL"
,
"
/home/hived/healthcheck.sh"
]
interval
:
60s
timeout
:
10s
retries
:
3
start_period
:
48h
#time for replay to finish
backend-setup
:
image
:
registry.gitlab.syncad.com/hive/balance_tracker:${BACKEND_VERSION:-latest}
working_dir
:
/app
command
:
"
install_app"
environment
:
POSTGRES_HOST
:
haf
networks
:
haf-network
:
depends_on
:
haf
:
condition
:
service_healthy
backend-block-processing
:
image
:
registry.gitlab.syncad.com/hive/balance_tracker:${BACKEND_VERSION:-latest}
working_dir
:
/app
command
:
"
process_blocks"
environment
:
POSTGRES_HOST
:
haf
POSTGRES_USER
:
btracker_owner
networks
:
haf-network
:
healthcheck
:
test
:
[
"
CMD-SHELL"
,
"
/app/block-processing-healthcheck.sh"
]
interval
:
60s
timeout
:
5s
retries
:
20
start_period
:
72h
#time for sync to finish
depends_on
:
backend-setup
:
condition
:
service_completed_successfully
backend-postgrest
:
image
:
postgrest/postgrest:latest
ports
:
-
"
3000:3000"
-
"
3001:3001"
environment
:
PGRST_ADMIN_SERVER_PORT
:
3001
PGRST_DB_URI
:
postgresql://btracker_owner@haf:5432/haf_block_log
PGRST_DB_SCHEMA
:
btracker_endpoints
PGRST_DB_ANON_ROLE
:
btracker_user
PGRST_DB_POOL
:
20
PGRST_DB_POOL_ACQUISITION_TIMEOUT
:
10
PGRST_OPENAPI_SERVER_PROXY_URI
:
http://localhost:3000
PGRST_DB_EXTRA_SEARCH_PATH
:
btracker_app
networks
:
haf-network
:
depends_on
:
haf
:
condition
:
service_healthy
backend-block-processing
:
condition
:
service_healthy
networks
:
haf-network
:
name
:
haf-network
volumes
:
haf_datadir
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
${HAF_DATA_DIRECTORY}/
haf_shmdir
:
driver
:
local
driver_opts
:
o
:
bind
type
:
none
device
:
${HAF_SHM_DIRECTORY}/
pgadmin_data
:
driver
:
local
\ No newline at end of file
Loading