|
|
|
@ -1,46 +1,27 @@
|
|
|
|
|
version: '3' |
|
|
|
|
services: |
|
|
|
|
|
|
|
|
|
nacos: |
|
|
|
|
image: nacos/nacos-server:latest |
|
|
|
|
container_name: nacos |
|
|
|
|
image: nacos/nacos-server:0.9.0 |
|
|
|
|
hostname: "nacos-standalone" |
|
|
|
|
environment: |
|
|
|
|
- PREFER_HOST_MODE=hostname |
|
|
|
|
- MODE=standalone |
|
|
|
|
volumes: |
|
|
|
|
- ./standalone-logs/:/home/nacos/logs |
|
|
|
|
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties |
|
|
|
|
- /docker/nacos/standalone-logs/:/home/nacos/logs |
|
|
|
|
- /docker/nacos/init.d/custom.properties:/home/nacos/init.d/custom.properties |
|
|
|
|
ports: |
|
|
|
|
- 8848:8848 |
|
|
|
|
networks: |
|
|
|
|
blade_net: |
|
|
|
|
ipv4_address: 172.30.0.48 |
|
|
|
|
prometheus: |
|
|
|
|
container_name: prometheus |
|
|
|
|
image: prom/prometheus:latest |
|
|
|
|
volumes: |
|
|
|
|
- ./prometheus/prometheus-standalone.yaml:/etc/prometheus/prometheus.yml |
|
|
|
|
ports: |
|
|
|
|
- 9090:9090 |
|
|
|
|
depends_on: |
|
|
|
|
- nacos |
|
|
|
|
restart: on-failure |
|
|
|
|
grafana: |
|
|
|
|
container_name: grafana |
|
|
|
|
image: grafana/grafana:latest |
|
|
|
|
ports: |
|
|
|
|
- 3000:3000 |
|
|
|
|
restart: on-failure |
|
|
|
|
|
|
|
|
|
sentinel: |
|
|
|
|
container_name: sentinel |
|
|
|
|
image: bladex/sentinel-dashboard:1.4.2 |
|
|
|
|
hostname: "sentinel" |
|
|
|
|
ports: |
|
|
|
|
- 8858:8858 |
|
|
|
|
restart: on-failure |
|
|
|
|
networks: |
|
|
|
|
blade_net: |
|
|
|
|
ipv4_address: 172.30.0.58 |
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-nginx: |
|
|
|
|
image: nginx:stable-alpine-perl |
|
|
|
@ -81,7 +62,7 @@ services:
|
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-admin: |
|
|
|
|
image: "${REGISTER}/blade-admin:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-admin:2.0.0.RC6" |
|
|
|
|
ports: |
|
|
|
|
- 7002:7002 |
|
|
|
|
privileged: true |
|
|
|
@ -90,7 +71,7 @@ services:
|
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-gateway1: |
|
|
|
|
image: "${REGISTER}/blade-gateway:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-gateway:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
@ -98,7 +79,7 @@ services:
|
|
|
|
|
ipv4_address: 172.30.0.81 |
|
|
|
|
|
|
|
|
|
blade-gateway2: |
|
|
|
|
image: "${REGISTER}/blade-gateway:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-gateway:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
@ -106,7 +87,7 @@ services:
|
|
|
|
|
ipv4_address: 172.30.0.82 |
|
|
|
|
|
|
|
|
|
blade-gateway3: |
|
|
|
|
image: "${REGISTER}/blade-gateway:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-gateway:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
@ -114,35 +95,35 @@ services:
|
|
|
|
|
ipv4_address: 172.30.0.83 |
|
|
|
|
|
|
|
|
|
blade-auth: |
|
|
|
|
image: "${REGISTER}/blade-auth:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-auth:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-log: |
|
|
|
|
image: "${REGISTER}/blade-log:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-log:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-desk: |
|
|
|
|
image: "${REGISTER}/blade-desk:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-desk:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-user: |
|
|
|
|
image: "${REGISTER}/blade-user:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-user:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
|
- blade_net |
|
|
|
|
|
|
|
|
|
blade-system: |
|
|
|
|
image: "${REGISTER}/blade-system:${TAG}" |
|
|
|
|
image: "10.211.55.5/blade/blade-system:2.0.0.RC6" |
|
|
|
|
privileged: true |
|
|
|
|
restart: always |
|
|
|
|
networks: |
|
|
|
|