use loopback address by default for all besides restricted ports

testing-process-exporter
lza_menace 4 years ago
parent 49f17fd2c5
commit e301fe8e81

@ -17,13 +17,13 @@ services:
- prometheus:/prometheus - prometheus:/prometheus
- ./files/prometheus:/etc/prometheus - ./files/prometheus:/etc/prometheus
ports: ports:
- 9090:9090 - 127.0.0.1:9090:9090
grafana: grafana:
image: grafana/grafana:6.5.0 image: grafana/grafana:6.5.0
container_name: grafana container_name: grafana
restart: unless-stopped restart: unless-stopped
ports: ports:
- 3000:3000 - 127.0.0.1:3000:3000
environment: environment:
HOSTNAME: grafana HOSTNAME: grafana
GF_SECURITY_ADMIN_USER: admin GF_SECURITY_ADMIN_USER: admin
@ -49,7 +49,7 @@ services:
DAEMON_HOST: http://monerod:18083 DAEMON_HOST: http://monerod:18083
PORT: 8080 PORT: 8080
ports: ports:
- 8080:8080 - 127.0.0.1:8080:8080
monerod: monerod:
container_name: monerod container_name: monerod
build: build:
@ -61,8 +61,8 @@ services:
- ${DATA_DIR:-./data}:/data - ${DATA_DIR:-./data}:/data
ports: ports:
- 18080:18080 # p2p - 18080:18080 # p2p
- 18081:18081 # restricted rpc - 18089:18089 # restricted rpc
- 18082:18082 # zmq - 127.0.0.1:18082:18082 # zmq
- 18083:18083 # unrestricted rpc - 127.0.0.1:18083:18083 # unrestricted rpc
command: command:
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0 monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-port=18089 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0

@ -17,13 +17,13 @@ services:
- prometheus:/prometheus - prometheus:/prometheus
- ./files/prometheus:/etc/prometheus - ./files/prometheus:/etc/prometheus
ports: ports:
- 9090:9090 - 127.0.0.1:9090:9090
grafana: grafana:
image: grafana/grafana:6.5.0 image: grafana/grafana:6.5.0
container_name: grafana container_name: grafana
restart: unless-stopped restart: unless-stopped
ports: ports:
- 3000:3000 - 127.0.0.1:3000:3000
environment: environment:
HOSTNAME: grafana HOSTNAME: grafana
GF_SECURITY_ADMIN_USER: admin GF_SECURITY_ADMIN_USER: admin
@ -49,7 +49,7 @@ services:
DAEMON_HOST: http://monerod:18083 DAEMON_HOST: http://monerod:18083
PORT: 8080 PORT: 8080
ports: ports:
- 8080:8080 - 127.0.0.1:8080:8080
monerod: monerod:
container_name: monerod container_name: monerod
build: build:
@ -61,8 +61,8 @@ services:
- ${DATA_DIR:-./data}:/data - ${DATA_DIR:-./data}:/data
ports: ports:
- 18080:18080 # p2p - 18080:18080 # p2p
- 18081:18081 # restricted rpc - 18089:18089 # restricted rpc
- 18082:18082 # zmq - 127.0.0.1:18082:18082 # zmq
- 18083:18083 # unrestricted rpc - 127.0.0.1:18083:18083 # unrestricted rpc
command: command:
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0 monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-port=18089 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0

Loading…
Cancel
Save