Default to PGO gathering off, add to alternate yml
This commit is contained in:
parent
137d66a543
commit
d30d7c3ee9
|
@ -2,7 +2,7 @@
|
|||
.env
|
||||
.env.example
|
||||
.gitignore
|
||||
testdata/
|
||||
pgo/
|
||||
default.pgo.tmp
|
||||
docker/nginx
|
||||
docker/postgres
|
||||
|
|
83
docker-compose.pgo.yml
Normal file
83
docker-compose.pgo.yml
Normal file
|
@ -0,0 +1,83 @@
|
|||
version: "2.2"
|
||||
|
||||
services:
|
||||
pgo-p2pool:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- p2pool
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./pgo:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name p2pool.pgo
|
||||
-endpoint http://p2pool:6060
|
||||
pgo-daemon:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- daemon
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./pgo:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name daemon.pgo
|
||||
-endpoint http://daemon:6060
|
||||
pgo-web:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- web
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./pgo:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name web.pgo
|
||||
-endpoint http://web:6060
|
||||
pgo-api:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- api
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./pgo:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name api.pgo
|
||||
-endpoint http://api:6060
|
|
@ -213,85 +213,4 @@ services:
|
|||
-rpc-port ${MONEROD_RPC_PORT}
|
||||
-api-host "http://p2pool:3131"
|
||||
-hook-proxy "tor-proxy:9050"
|
||||
-db="postgres:///p2pool?host=/var/run/postgresql&user=p2pool&password=p2pool&sslmode=disable"
|
||||
|
||||
pgo-p2pool:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- p2pool
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./cmd/p2pool:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name default.pgo
|
||||
-endpoint http://p2pool:6060
|
||||
pgo-daemon:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- daemon
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./cmd/daemon:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name default.pgo
|
||||
-endpoint http://daemon:6060
|
||||
pgo-web:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- web
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./cmd/web:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name default.pgo
|
||||
-endpoint http://web:6060
|
||||
pgo-api:
|
||||
image: golang:1.22-alpine3.19
|
||||
restart: always
|
||||
environment:
|
||||
- GOPROXY=${GOPROXY}
|
||||
depends_on:
|
||||
- api
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- ./cmd/api:/data:rw
|
||||
networks:
|
||||
- p2pool-observer
|
||||
command: >-
|
||||
go run git.gammaspectra.live/P2Pool/pgo-collector@27345e42a586ccf8b3a2608cc7e91d02a9615f93
|
||||
-profile-interval 1h
|
||||
-profile-duration 60s
|
||||
-profile-directory /data
|
||||
-profile-name default.pgo
|
||||
-endpoint http://api:6060
|
||||
-db="postgres:///p2pool?host=/var/run/postgresql&user=p2pool&password=p2pool&sslmode=disable"
|
0
pgo/.gitkeep
Normal file
0
pgo/.gitkeep
Normal file
Loading…
Reference in a new issue