AnalysisSystemForRadionuclide/jeecg-server-cloud/docker-compose.yml
2024-01-16 16:01:02 +08:00

159 lines
3.4 KiB
YAML

version: '2'
services:
nacos:
container_name: armd-nacos
hostname: armd-nacos
restart: always
build:
context: ./nacos
ports:
- 8848:8848
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
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
build:
context: ./system
ports:
- 7001:7001
restart: on-failure
environment:
- TZ=Asia/Shanghai
extra_hosts:
- "armd-system:192.168.31.23"
volumes:
- "/home/rmsops/armd-logs:/armd-system-cloud/logs"
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"
armd-web-statistics:
container_name: armd-web-statistics
hostname: armd-web-statistics
depends_on:
- armd-system
profiles:
- service
restart: on-failure
build:
context: ./web-statistics
ports:
- 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
depends_on:
- 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"