AnalysisSystemForRadionuclide/jeecg-server-cloud/docker-compose.yml

159 lines
3.4 KiB
YAML
Raw Normal View History

2023-05-06 15:51:29 +08:00
version: '2'
services:
2024-01-16 16:01:02 +08:00
nacos:
container_name: armd-nacos
hostname: armd-nacos
2023-05-06 15:51:29 +08:00
restart: always
build:
2024-01-16 16:01:02 +08:00
context: ./nacos
2023-05-06 15:51:29 +08:00
ports:
- 8848:8848
2024-01-16 16:01:02 +08:00
profiles:
- nacos
environment:
- SERVER_PORT=8848
- DB_URL=jdbc:postgresql://182.92.183.230:5432/nacos
- DB_USER=temp
- DB_PASSWORD=123456
- DB_PLATFORM=postgresql
2024-01-16 16:01:02 +08:00
extra_hosts:
- "armd-nacos:192.168.31.23"
armd-gateway:
container_name: armd-gateway-start
hostname: armd-gateway
# depends_on:
# - armd-nacos
profiles:
- gateway
build:
context: ./gateway
ports:
- 9999:9999
restart: on-failure
environment:
- TZ=Asia/Shanghai
extra_hosts:
- "armd-gateway:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-gateway/logs"
armd-system:
container_name: armd-system
hostname: armd-system
profiles:
- service
2023-05-06 15:51:29 +08:00
build:
2024-01-16 16:01:02 +08:00
context: ./system
ports:
- 7001:7001
2023-05-06 15:51:29 +08:00
restart: on-failure
environment:
- TZ=Asia/Shanghai
2024-01-16 16:01:02 +08:00
extra_hosts:
- "armd-system:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-system-cloud/logs"
2023-05-06 15:51:29 +08:00
2024-01-16 16:01:02 +08:00
armd-station-operation:
container_name: armd-station-operation
hostname: armd-station-operation
depends_on:
# - armd-nacos
- armd-system
profiles:
- service
restart: on-failure
build:
context: ./station-operation
ports:
- 7002:7002
extra_hosts:
- "armd-station-operation:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-station-operation/logs"
2023-05-06 15:51:29 +08:00
2024-01-16 16:01:02 +08:00
armd-web-statistics:
container_name: armd-web-statistics
hostname: armd-web-statistics
depends_on:
- armd-system
profiles:
- service
2023-05-06 15:51:29 +08:00
restart: on-failure
build:
2024-01-16 16:01:02 +08:00
context: ./web-statistics
2023-05-06 15:51:29 +08:00
ports:
2024-01-16 16:01:02 +08:00
- 7003:7003
extra_hosts:
- "armd-web-statistics:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-web-statistics/logs"
armd-abnormal-alarm:
container_name: armd-abnormal-alarm
hostname: armd-abnormal-alarm
2023-05-06 15:51:29 +08:00
depends_on:
2024-01-16 16:01:02 +08:00
- armd-system
profiles:
- service
restart: on-failure
build:
context: ./abnormal-alarm
ports:
- 7005:7005
extra_hosts:
- "armd-abnormal-alarm:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-abnormal-alarm/logs"
armd-log-manage:
container_name: armd-log-manage
hostname: armd-log-manage
depends_on:
- armd-system
profiles:
- service
restart: on-failure
build:
context: ./log-manage
ports:
- 7006:7006
extra_hosts:
- "armd-log-manage:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-log-manage/logs"
armd-spectrum-analysis:
restart: on-failure
build:
context: ./spectrum-analysis
ports:
- 7007:7007
profiles:
- service
depends_on:
- armd-system
container_name: armd-spectrum-analysis
hostname: armd-spectrum-analysis
extra_hosts:
- "armd-spectrum-analysis:127.0.0.1"
auto-process:
restart: on-failure
build:
context: ./auto-process
ports:
- 7004:7004
profiles:
- auto-process
container_name: auto-process
hostname: armd-auto-process
extra_hosts:
- "armd-auto-process:127.0.0.1"
volumes:
- "/home/rmsops/ftp:/armd-auto-process/ftp"
- "/home/rmsops/armd-logs:/armd-auto-process/logs"
2023-05-06 15:51:29 +08:00