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
17
Merged
Konrad Botor
requested to merge
kbotor/ci-rewrite
into
develop
11 months ago
Overview
0
Commits
1
Pipelines
25
Changes
17
Expand
Depends on
common-ci-configuration!45 (merged)
0
0
Merge request reports
Viewing commit
26d8b67e
Show latest version
17 files
+
352
−
429
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
Verified
26d8b67e
CI and Dockerisation rewrite
· 26d8b67e
Konrad Botor
authored
11 months ago
docker/ci/docker-compose.full.yml deleted
100644 → 0
+
0
−
100
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
:
BLOCK_NUMBER
:
0
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