123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- version: '3.8'
- networks:
- default:
- external:
- name: default-network
- services:
-
- 3dshow-nginx:
- image: "registry.cn-chengdu.aliyuncs.com/infish/pack-comm-nginx:1.23.1"
- restart: always
- ports:
- - 18089:80
- volumes:
- - ./nginx/conf.d:/etc/nginx/conf.d
- - ./nginx/www:/usr/share/nginx/html
-
- 3dshow-bus:
- restart: always
- image: registry.cn-chengdu.aliyuncs.com/infish/pack-comm-bus:v1.0.0
- volumes:
- - ./config-service.yaml:/root/bus/app.yaml
- depends_on:
- - 3dshow-mongo
- - 3dshow-redis
- ports:
- - 14301:4222
-
- 3dshow-redis:
- image: "redis:alpine"
- restart: always
- command:
- --requirepass "3dshow"
- privileged: true
- ports:
- - 16391:6379
-
- 3dshow-mongo:
- image: mongo:4.4.1
- restart: always
- environment:
- MONGO_INITDB_ROOT_USERNAME: root
- MONGO_INITDB_ROOT_PASSWORD: 3dshow
- volumes:
- - ~/data/packs-3dshow/mongo/db:/data/db
- - ~/data/packs-3dshow/mongo/log:/var/log/mongodb
- ports:
- - 37031:27017
-
- 3dshow:
- image: registry.cn-chengdu.aliyuncs.com/infish/pack-3dshow:v1.0.0
- restart: always
- depends_on:
- - 3dshow-bus
- environment:
- NATS: nats://3dshow-bus:4222
|