2019-01-30 17:06:23 +08:00
|
|
|
|
version: '3'
|
|
|
|
|
services:
|
2019-04-01 22:56:46 +08:00
|
|
|
|
nacos:
|
2024-07-14 23:40:58 +08:00
|
|
|
|
image: nacos/nacos-server:v2.3.2
|
2019-04-01 22:56:46 +08:00
|
|
|
|
hostname: "nacos-standalone"
|
|
|
|
|
environment:
|
2024-04-22 00:19:47 +08:00
|
|
|
|
- NACOS_AUTH_ENABLE=true
|
|
|
|
|
- NACOS_AUTH_CACHE_ENABLE=true
|
|
|
|
|
- NACOS_AUTH_IDENTITY_KEY=nacos
|
|
|
|
|
- NACOS_AUTH_IDENTITY_VALUE=nacos
|
2024-07-14 23:40:58 +08:00
|
|
|
|
- NACOS_AUTH_TOKEN= # 请阅读官方文档了解规则后替换为自己的token:https://nacos.io/zh-cn/docs/v2/guide/user/auth.html
|
2019-04-01 22:56:46 +08:00
|
|
|
|
- MODE=standalone
|
2023-04-29 22:03:24 +08:00
|
|
|
|
- TZ=Asia/Shanghai
|
2019-04-01 22:56:46 +08:00
|
|
|
|
volumes:
|
|
|
|
|
- /docker/nacos/standalone-logs/:/home/nacos/logs
|
2023-04-29 22:03:24 +08:00
|
|
|
|
- /docker/nacos/conf/application.properties:/home/nacos/conf/application.properties
|
2019-04-01 22:56:46 +08:00
|
|
|
|
ports:
|
|
|
|
|
- 8848:8848
|
2021-03-24 18:54:45 +08:00
|
|
|
|
- 9848:9848
|
|
|
|
|
- 9849:9849
|
2019-04-01 22:56:46 +08:00
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
|
|
|
|
ipv4_address: 172.30.0.48
|
|
|
|
|
|
|
|
|
|
sentinel:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: bladex/sentinel-dashboard:1.8.0
|
2019-04-01 22:56:46 +08:00
|
|
|
|
hostname: "sentinel"
|
|
|
|
|
ports:
|
|
|
|
|
- 8858:8858
|
|
|
|
|
restart: on-failure
|
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
|
|
|
|
ipv4_address: 172.30.0.58
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2019-02-13 17:11:47 +08:00
|
|
|
|
blade-nginx:
|
2019-01-30 17:06:23 +08:00
|
|
|
|
image: nginx:stable-alpine-perl
|
2019-03-09 20:07:46 +08:00
|
|
|
|
hostname: "blade-nginx"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
ports:
|
|
|
|
|
- 88:88
|
|
|
|
|
volumes:
|
2019-06-17 00:29:28 +08:00
|
|
|
|
- /docker/nginx/api/nginx.conf:/etc/nginx/nginx.conf
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
2019-03-09 20:07:46 +08:00
|
|
|
|
web-nginx:
|
|
|
|
|
image: nginx:stable-alpine-perl
|
|
|
|
|
hostname: "web-nginx"
|
|
|
|
|
ports:
|
|
|
|
|
- 8000:8000
|
|
|
|
|
volumes:
|
|
|
|
|
- /docker/nginx/web/html:/usr/share/nginx/html
|
|
|
|
|
- /docker/nginx/web/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
2019-01-30 17:06:23 +08:00
|
|
|
|
blade-redis:
|
|
|
|
|
image: redis:5.0.2-alpine
|
|
|
|
|
hostname: "blade-redis"
|
|
|
|
|
ports:
|
2019-04-01 22:56:46 +08:00
|
|
|
|
- 3379:6379
|
2019-01-30 17:06:23 +08:00
|
|
|
|
volumes:
|
|
|
|
|
- /docker/redis/data:/data
|
|
|
|
|
command: "redis-server --appendonly yes"
|
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
|
|
|
|
blade-admin:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-admin:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
ports:
|
|
|
|
|
- 7002:7002
|
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
|
|
|
|
blade-gateway1:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-gateway:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
|
|
|
|
ipv4_address: 172.30.0.81
|
|
|
|
|
|
|
|
|
|
blade-gateway2:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-gateway:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
|
|
|
|
ipv4_address: 172.30.0.82
|
|
|
|
|
|
2019-04-01 22:56:46 +08:00
|
|
|
|
blade-auth1:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-auth:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
2019-04-01 22:56:46 +08:00
|
|
|
|
ipv4_address: 172.30.0.91
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2019-04-01 22:56:46 +08:00
|
|
|
|
blade-auth2:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-auth:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
2019-04-01 22:56:46 +08:00
|
|
|
|
blade_net:
|
|
|
|
|
ipv4_address: 172.30.0.92
|
2019-01-30 17:06:23 +08:00
|
|
|
|
|
2020-11-14 20:43:29 +08:00
|
|
|
|
blade-report:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-report:${TAG}"
|
2020-11-14 20:43:29 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
|
|
|
|
ipv4_address: 172.30.0.98
|
|
|
|
|
|
2019-01-30 17:06:23 +08:00
|
|
|
|
blade-log:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-log:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
|
|
|
|
blade-desk:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-desk:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
|
|
|
|
blade-system:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-system:${TAG}"
|
2019-01-30 17:06:23 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
2019-06-17 00:29:28 +08:00
|
|
|
|
blade-resource:
|
2021-03-24 18:54:45 +08:00
|
|
|
|
image: "${REGISTER}/blade-resource:${TAG}"
|
2019-06-17 00:29:28 +08:00
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
2021-05-07 13:25:15 +08:00
|
|
|
|
blade-develop:
|
|
|
|
|
image: "${REGISTER}/blade-develop:${TAG}"
|
|
|
|
|
privileged: true
|
|
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
- blade_net
|
|
|
|
|
|
2019-01-30 17:06:23 +08:00
|
|
|
|
networks:
|
|
|
|
|
blade_net:
|
|
|
|
|
driver: bridge
|
|
|
|
|
ipam:
|
|
|
|
|
config:
|
|
|
|
|
- subnet: 172.30.0.0/16
|