version: “2”
services:
gis-server:
image: harbor.pinnettech.cn:8000/dt/gis-server:2.1.20
container_name: gis-server
restart: always
privileged: true
mem_limit: 4g
ports:
- 28083:28083
- 28085:28085
- 15006:15006
environment:
- itps.gis.mysql.url=10.10.16.222
- itps.epmsgroup.mysql.url=10.10.16.151
- app.url=http://10.10.16.222
- cas.server.url=https://10.10.16.143/cas
- rabbit.server.host=10.10.16.222
- rabbit.queue.name=154
- itps.pcm.base.url=http://10.10.17.200:8888/itps/pcm
- itps.epmsgroup.mysql.port=3308
- itps.epmsgroup.mysql.dbname=sharding_db
- spring.datasource.epmsgroup.username=sharding
- spring.datasource.epmsgroup.password=Hwsharding@com
- app.not.check=true
- multiFlag=true
- business.service=730
- isPinnenger=true
- spring.datasource.epmsgroup.url=jdbc:mysql://10.10.16.151:3308/sharding_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=15006
depends_on:
- rabbitmq
- mysql
gis-client:
image: harbor.pinnettech.cn:8000/dt/gis-client:2.1.94
container_name: gis-client
restart: always
ports:
- 80:80
- 443:443
volumes:
- /opt/config/menuSetting.json:/usr/share/nginx/www/menuSetting.json
- /opt/config/nginx.conf:/etc/nginx/nginx.conf
- /opt/config/nginx.template:/etc/nginx/nginx.template
environment:
- itps_uav_file_server=10.10.12.253:9001
- itps_uav_video_server=10.10.12.253:18880
extra_hosts:
- “itps-pmvs-group-server:10.10.16.143”
- “itps-3rd-iserver:10.10.16.222”
- “itps-biz-idv-server:10.10.16.222”
- “itps-pcm-video-server:10.10.17.200”
- “ssl_host:10.10.16.222”
- “portal:10.10.16.222”
- “itps-sso-server:10.10.16.143”
- “itps-collect-uav-server:10.10.16.222”
- “itps-uav-video-server:10.10.16.222”
rabbitmq:
image: rabbitmq:3.8.17
container_name: rabbitmq
restart: always
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=Rabbitmq@123
mysql:
image: mysql:latest
container_name: mysql
restart: always
ports:
- 3306:3306
volumes:
- /opt/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_HOST=%
- MYSQL_ROOT_PASSWORD=Pinnet@123
- MYSQL_DATABASE=gis
portal:
image: idv-portal:1.1.1
container_name: idv-portal
restart: always
ports:
- 8088:80
volumes:
- /opt/idv-portal/www:/www
- /opt/idv-portal/nginx:/etc/nginx/conf.d
depends_on:
- geoserver
extra_hosts:
- iserver:127.0.0.1
geoserver:
image: thinkwhere/geoserver:2.18.3
container_name: geoserver
restart: always
ports:
- 8080:8080
volumes:
- /opt/geoserver/data:/opt/geoserver/data_dir
pgrouting:
image: starefossen/pgrouting
container_name: pgrouting
restart: always
environment:
POSTGRES_PASSWORD: Postgres@123
ports:
- 5432:5432
volumes:
- /opt/postgis/data:/var/lib/postgresql/data