Commit Graph

74 Commits

Author SHA1 Message Date
Thorsten Hirsch
a5144e0312
add ENTRYPOINT to Dockerfile and Dockerfile.debian (#6966)
Providing an ENTRYPOINT in Dockerfiles is best practice, so I've added
an ENTRYPOINT to Dockerfile and Dockerfile.debian, setting it to erigon,
because it's the binary most people want to run. The setting can be
overridden in the ` docker run` command to execute different binaries.
Currently everybody has to override it anyway, because there's neither a
CMD nor an ENTRYPOINT given.

The Dockerfile.release already contains the ENTRYPOINT erigon.

P.S.: This PR originated in #6862.
2023-03-03 10:11:59 +00:00
alex.sharov
54d882c121 prometheus/grafana up 2023-02-15 10:10:36 +07:00
Alex Sharov
1b4dbefa95
grafana/prometheus version up (#6301) 2022-12-14 10:57:47 +07:00
Alex Sharov
61ebb61e96
up grafana (#6156) 2022-11-30 11:14:25 +07:00
Alex Sharov
32eaa82fba
e3: prune debug log (#5944) 2022-11-03 11:15:03 +07:00
Alex Sharov
60270df639
up grpc and log deps (#5788) 2022-10-19 09:31:15 +07:00
Alex Sharov
b12b0d4627
e3: history bsc and mainnet snapshots (#5725) 2022-10-13 09:46:32 +07:00
Alex Sharov
c6a000997e
grafana and prometheus version up #5560 2022-09-28 09:11:30 +07:00
Jeff Rossiter
9d3b3ffccc
Update docker-compose.yml (#5154)
fix typo in txpool flag
2022-08-23 21:58:23 +07:00
Alex Sharov
031fc8eec7
docker-compose.yml: remove --no-downloader flag (because it disables call to external downloader allso) #5148 2022-08-23 14:29:42 +07:00
Alex Sharov
ed7b01ebe9
docker-compose.yml explicit datadir #5137 2022-08-22 19:03:48 +07:00
Alex Sharov
8e136836c0
docker-compose.yml disable build-in downloader #5135 2022-08-22 18:13:36 +07:00
Alex Sharov
3c0a514f75
docker-compose.yml add sentry addr to txpool #5134 2022-08-22 17:45:49 +07:00
Andrew Ashikhmin
5ea692f2de
Remove authrpc.* flags from rpcdaemon (#4931)
* README: Move port 8551 from RPC to erigon ports

* Some renaming for consistency

* Remove authrpc.* flags from rpcdaemon

* docker-compose: move --authrpc.jwtsecret to erigon

* minor typo
2022-08-04 12:51:01 +02:00
Alex Sharov
7826a33b87
save (#4817)afix "grafana user format" #4817 2022-07-25 11:26:42 +07:00
Alex Sharov
92e2311eb3
docker compose: fix interpolation format #4722 Open 2022-07-15 14:39:27 +07:00
Alex Sharov
7b57e26d84
grafana: up security fix version #4721 2022-07-15 13:57:44 +07:00
Alex Sharov
ed42f98a98
backward compatibility: use default UID=1000 GID=1000 (#4702)
* backward compatibility: use default UID=1000 GID=1000

* backward compatibility: use default UID=1000 GID=1000
2022-07-13 14:45:00 +07:00
Cory
9f5b401547
Fix grafana startup in docker-compose (#4677)
* grafana user 472:0

* Fix typo extra ~ in Makefile

* Create grafana dir correctly

* chown -R
2022-07-08 12:11:07 +06:00
Alex Sharov
6e31b56d65
grafana version 9 (#4613) 2022-07-03 13:29:10 +06:00
Cory
74cf9840ae
Patch plumbing of docker-compose UID/GID build args (#4527)
* Patch plumbing of docker-compose UID/GID build args

* Fallback to 1000/1000 if DOCKER_(U|G)ID not set

* Revise README.md instructions for docker further

* Fix existing typo forc 'servie' -> 'service'

* Rename PUID/GUID -> UID/GID

* Specify user in erigon docker service

* Rely on .env instead of specifying :-1000

* Polish Makefile for docker use case

* one more helpful comment

* make docker should use UID/GID --build-arg

* Fix make docker and more fail-fast if envvar set incorrect

* mv .env->.env.example to not intefere existing workflows

* Specify envvars in docker CI

* Adjust validate_docker_build_args to permit non-erigon user

* Also run docker CI target on macos-11 os

* Add DOCKER_UID, DOCKER_GID in hooks/build

* Patch docker build arg validation for macos

* Add actions-setup-docker@master for macos

* Don't run automated test for docker macos

* Cleanup Makefile

* Comments, targets for erigon users

* More Makefile cleanup, debugging still

* Typo fix

* Create subdirs before calling ls

* Get rid of flaky validation

* DOCKER_UID, DOCKER_GID init to runner if not set

* Get rid of unnecessary variable for now

* Improved README based on new changes

* Proper uid/gid `make user_*` when no envars set

* Fix typo in Makefile comment

* Fix make docker as sudo user
2022-06-30 16:11:37 +06:00
Alex Sharov
24af9bd1c6
return docker compose yml version line #4358 2022-06-04 09:06:04 +07:00
Alex Sharov
ade167f950
compose clarify comment #4347 2022-06-03 09:57:27 +07:00
Alex Sharov
0d2f77ad2a
compose: abs path to jwt.hex (#4333) 2022-06-02 16:03:33 +07:00
Alex Sharov
3ab2f07294
DockerCompose: add txpool and sentry (#4329) 2022-06-02 11:46:40 +07:00
Alex Sharov
621223fd24
Compose simplify (#4312)
* save

* save
2022-05-31 14:35:10 +07:00
Andrew Ashikhmin
15ddd32e75
Engine API: remove unauth port (#4111)
* Engine API: remove unauth port

* Remove reduntant auth from variable names
2022-05-10 13:04:52 +02:00
Alex Sharov
f54628b7ba
remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
Alex Sharov
6865f2543d
Snapshots: open bittorrent udp port in docker (#3969)
* Snapshots: open torrent udp in docker-compose.yml

* Snapshots: open torrent udp in docker-compose.yml
2022-04-26 10:52:46 +07:00
Alex Sharov
d1218181b0
Snapshots: geth compatibility, use --syncmode=snap flag (#3808) 2022-04-01 15:00:50 +07:00
alex.sharov
3313eedb1c prometheus version up 2022-03-28 08:20:06 +07:00
Alex Sharov
85e47d83d2
Snapshots: remove "experimental" prefix from cli flag (#3760) 2022-03-24 12:17:31 +07:00
Andrew Ashikhmin
f58e80bd56
Expose eth API on the same ports as engine API (#3633)
* Expose port 8551 (authenticated Engine API)

* Expose eth API on the same ports as engine API
2022-03-02 14:58:46 +01:00
alex.sharov
d5b51e15f5 grafana:8.4.0 2022-02-18 10:29:50 +07:00
alex.sharov
cd7d7dfa06 prometheus: 150d expiry 2022-02-12 14:08:20 +07:00
alex.sharov
c454e25543 prometheus: increase retention.time to 150 days 2022-02-12 09:04:52 +07:00
Alex Sharov
b26a56e814
prometheus: increase retention.time to 150 days (#3483) 2022-02-12 09:03:08 +07:00
Alex Sharov
69ae7dcad9
prepare to add downloader inside erigon (#3441)
* save

* save

* save

* save
2022-02-07 16:54:20 +07:00
Alex Sharov
bb1d19060f
Add downloader to docker-compose (#3348) 2022-01-26 22:26:33 +07:00
Enrique Jose Avila Asapche
2aa1ebf9f6
Separate Server For Engine API (#3332) 2022-01-25 19:44:35 +03:00
Alex Sharov
df2f11771c
DockerHub and git submodules (#3295)
* save

* save

* save

* save

* save

* save

* save

* save
2022-01-19 07:54:56 +00:00
alex.sharov
35f6598755 Prometheus/Grafana up versions 2022-01-07 21:07:44 +07:00
Alex Sharov
3c7ab5a9ca
save (#3114) 2021-12-12 09:10:03 +00:00
alex.sharov
a61f1af95e grafana: up to version v8.2.2 2021-10-27 08:49:20 +07:00
Alex Sharov
a6a63e8b0e
Integration to print right stage in logs (#2785) 2021-10-06 14:02:50 +07:00
Alex Sharov
b890e973db
Dockerfile: switch to go1.17 and alpine3.14 (#2766) 2021-10-04 08:04:38 +07:00
Alex Sharov
d61a9ad073
Pool v2: --txpool.pricelimit support (#2763) 2021-10-02 17:34:57 +07:00
Alex Sharov
17abe11cc0
Remote RPC: add state cache (#2738) 2021-09-29 08:36:25 +07:00
Alex Sharov
b5dd323095
grafana:8.1.2, prometheus:v2.29.1 (#2567) 2021-08-23 09:37:19 +07:00
Alex Sharov
9398e2ff93
Breaking change: Docker to follow XDG spec (#2437)
change default dir inside docker from /var/lib/erigon to /home/erigon/.local/share/erigon
2021-07-24 16:14:46 +07:00