mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-07 23:04:06 -05:00
chore: added docker support for osx (#6696)
* chore: added docker support for osx * chore: address comments * chore: address comments * Update docker-compose.yml Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com>
This commit is contained in:
@@ -7,28 +7,30 @@ services:
|
||||
build:
|
||||
context: prometheus
|
||||
environment:
|
||||
# Linux: http://localhost:8008
|
||||
# MacOSX: http://host.docker.internal:8008
|
||||
BEACON_URL: localhost:8008
|
||||
VC_URL: localhost:5064
|
||||
BEACON_URL: host.docker.internal:8008
|
||||
VC_URL: host.docker.internal:5064
|
||||
restart: always
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "prometheus:/prometheus"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "127.0.0.1:9090:9090"
|
||||
|
||||
grafana:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/grafana
|
||||
restart: always
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "grafana:/var/lib/grafana"
|
||||
- "grafana-dashboards:/dashboards"
|
||||
environment:
|
||||
# Linux: http://localhost:9090
|
||||
# MacOSX: http://host.docker.internal:9090
|
||||
PROMETHEUS_URL: http://localhost:9090
|
||||
PROMETHEUS_URL: http://host.docker.internal:9090
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
|
||||
volumes:
|
||||
prometheus:
|
||||
|
||||
@@ -12,26 +12,28 @@ services:
|
||||
build:
|
||||
context: prometheus
|
||||
environment:
|
||||
# Linux: http://localhost:8008
|
||||
# MacOSX: http://host.docker.internal:8008
|
||||
BEACON_URL: localhost:8008
|
||||
VC_URL: localhost:5064
|
||||
BEACON_URL: host.docker.internal:8008
|
||||
VC_URL: host.docker.internal:5064
|
||||
restart: always
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "prometheus:/prometheus"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "127.0.0.1:9090:9090"
|
||||
|
||||
grafana:
|
||||
build: grafana_dev
|
||||
restart: always
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "grafana:/var/lib/grafana"
|
||||
- "grafana-dashboards:/dashboards"
|
||||
environment:
|
||||
# Linux: http://localhost:9090
|
||||
# MacOSX: http://host.docker.internal:9090
|
||||
PROMETHEUS_URL: http://localhost:9090
|
||||
PROMETHEUS_URL: http://host.docker.internal:9090
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
|
||||
volumes:
|
||||
prometheus:
|
||||
|
||||
Reference in New Issue
Block a user