1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/cristiane-micro-mall-api

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
docker-compose-build.yml 17 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Your Name Отправлено 07.09.2022 16:07 48f1ae6
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
version: '3.1'
networks:
default:
external:
name: mall
services:
micro-mall-api:
image: centos:latest
container_name: micro-mall-api
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ./micro-mall-api:/www/micro-mall-api
- ./etc:/www/etc
ports:
- "52001:52001"
command: ['./micro-mall-api']
micro-mall-users:
image: centos:latest
container_name: micro-mall-users
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-users/micro-mall-users:/www/micro-mall-users
- ../micro-mall-users/etc:/www/etc
command: ['./micro-mall-users']
micro-mall-users2:
image: centos:latest
container_name: micro-mall-users2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-users/micro-mall-users:/www/micro-mall-users2
- ../micro-mall-users/etc:/www/etc
command: ['./micro-mall-users2']
micro-mall-users-cron:
image: centos:latest
container_name: micro-mall-users-cron
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-users-cron/micro-mall-users-cron:/www/micro-mall-users-cron
- ../micro-mall-users-cron/etc:/www/etc
command: ['./micro-mall-users-cron']
micro-mall-users-consumer:
image: centos:latest
container_name: micro-mall-users-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-users-consumer/micro-mall-users-consumer:/www/micro-mall-users-consumer
- ../micro-mall-users-consumer/etc:/www/etc
command: [ './micro-mall-users-consumer' ]
micro-mall-pay:
image: centos:latest
container_name: micro-mall-pay
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-pay/micro-mall-pay:/www/micro-mall-pay
- ../micro-mall-pay/etc:/www/etc
command: [ './micro-mall-pay' ]
micro-mall-pay2:
image: centos:latest
container_name: micro-mall-pay2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-pay/micro-mall-pay:/www/micro-mall-pay2
- ../micro-mall-pay/etc:/www/etc
command: [ './micro-mall-pay2' ]
micro-mall-sku:
image: centos:latest
container_name: micro-mall-sku
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-sku/micro-mall-sku:/www/micro-mall-sku
- ../micro-mall-sku/etc:/www/etc
command: [ './micro-mall-sku' ]
micro-mall-sku2:
image: centos:latest
container_name: micro-mall-sku2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-sku/micro-mall-sku:/www/micro-mall-sku2
- ../micro-mall-sku/etc:/www/etc
command: [ './micro-mall-sku2' ]
micro-mall-shop:
image: centos:latest
container_name: micro-mall-shop
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-shop/micro-mall-shop:/www/micro-mall-shop
- ../micro-mall-shop/etc:/www/etc
command: [ './micro-mall-shop' ]
micro-mall-shop2:
image: centos:latest
container_name: micro-mall-shop2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-shop/micro-mall-shop:/www/micro-mall-shop2
- ../micro-mall-shop/etc:/www/etc
command: [ './micro-mall-shop2' ]
micro-mall-shop-cron:
image: centos:latest
container_name: micro-mall-shop-cron
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-shop-cron/micro-mall-shop-cron:/www/micro-mall-shop-cron
- ../micro-mall-shop-cron/etc:/www/etc
command: [ './micro-mall-shop-cron' ]
micro-mall-trolley:
image: centos:latest
container_name: micro-mall-trolley
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-trolley/micro-mall-trolley:/www/micro-mall-trolley
- ../micro-mall-trolley/etc:/www/etc
command: [ './micro-mall-trolley' ]
micro-mall-trolley2:
image: centos:latest
container_name: micro-mall-trolley2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-trolley/micro-mall-trolley:/www/micro-mall-trolley2
- ../micro-mall-trolley/etc:/www/etc
command: [ './micro-mall-trolley2' ]
micro-mall-comments:
image: centos:latest
container_name: micro-mall-comments
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-comments/micro-mall-comments:/www/micro-mall-comments
- ../micro-mall-comments/etc:/www/etc
command: ['./micro-mall-comments']
micro-mall-comments2:
image: centos:latest
container_name: micro-mall-comments2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-comments/micro-mall-comments:/www/micro-mall-comments2
- ../micro-mall-comments/etc:/www/etc
command: ['./micro-mall-comments2']
micro-mall-search-cron:
image: centos:latest
container_name: micro-mall-search-cron
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search-cron/micro-mall-search-cron:/www/micro-mall-search-cron
- ../micro-mall-search-cron/etc:/www/etc
command: [ './micro-mall-search-cron' ]
micro-mall-search-shop-consumer:
image: centos:latest
container_name: micro-mall-search-shop-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search-shop-consumer/micro-mall-search-shop-consumer:/www/micro-mall-search-shop-consumer
- ../micro-mall-search-shop-consumer/etc:/www/etc
command: [ './micro-mall-search-shop-consumer' ]
micro-mall-search-sku-consumer:
image: centos:latest
container_name: micro-mall-search-sku-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search-sku-consumer/micro-mall-search-sku-consumer:/www/micro-mall-search-sku-consumer
- ../micro-mall-search-sku-consumer/etc:/www/etc
command: [ './micro-mall-search-sku-consumer' ]
micro-mall-search-users-consumer:
image: centos:latest
container_name: micro-mall-search-users-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search-users-consumer/micro-mall-search-users-consumer:/www/micro-mall-search-users-consumer
- ../micro-mall-search-users-consumer/etc:/www/etc
command: [ './micro-mall-search-users-consumer' ]
micro-mall-search-order-consumer:
image: centos:latest
container_name: micro-mall-search-order-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search-order-consumer/micro-mall-search-order-consumer:/www/micro-mall-search-order-consumer
- ../micro-mall-search-order-consumer/etc:/www/etc
command: [ './micro-mall-search-order-consumer' ]
micro-mall-order-cron:
image: centos:latest
container_name: micro-mall-order-cron
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-order-cron/micro-mall-order-cron:/www/micro-mall-order-cron
- ../micro-mall-order-cron/etc:/www/etc
command: [ './micro-mall-order-cron' ]
micro-mall-search:
image: centos:latest
container_name: micro-mall-search
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search/micro-mall-search:/www/micro-mall-search
- ../micro-mall-search/etc:/www/etc
command: [ './micro-mall-search' ]
micro-mall-search2:
image: centos:latest
container_name: micro-mall-search2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-search/micro-mall-search:/www/micro-mall-search2
- ../micro-mall-search/etc:/www/etc
command: [ './micro-mall-search2' ]
micro-mall-order:
image: centos:latest
container_name: micro-mall-order
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-order/micro-mall-order:/www/micro-mall-order
- ../micro-mall-order/etc:/www/etc
command: [ './micro-mall-order' ]
micro-mall-order2:
image: centos:latest
container_name: micro-mall-order2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-order/micro-mall-order:/www/micro-mall-order2
- ../micro-mall-order/etc:/www/etc
command: [ './micro-mall-order2' ]
micro-mall-pay-consumer:
image: centos:latest
container_name: micro-mall-pay-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-pay-consumer/micro-mall-pay-consumer:/www/micro-mall-pay-consumer
- ../micro-mall-pay-consumer/etc:/www/etc
command: [ './micro-mall-pay-consumer' ]
micro-mall-logistics:
image: centos:latest
container_name: micro-mall-logistics
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-logistics/micro-mall-logistics:/www/micro-mall-logistics
- ../micro-mall-logistics/etc:/www/etc
command: [ './micro-mall-logistics' ]
micro-mall-logistics2:
image: centos:latest
container_name: micro-mall-logistics2
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-logistics/micro-mall-logistics:/www/micro-mall-logistics2
- ../micro-mall-logistics/etc:/www/etc
command: [ './micro-mall-logistics2' ]
micro-mall-order-consumer:
image: centos:latest
container_name: micro-mall-order-consumer
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-order-consumer/micro-mall-order-consumer:/www/micro-mall-order-consumer
- ../micro-mall-order-consumer/etc:/www/etc
command: [ './micro-mall-order-consumer' ]
micro-mall-sku-cron:
image: centos:latest
container_name: micro-mall-sku-cron
environment:
- ETCDV3_SERVER_URLS=http://etcd1:2379,http://etcd2:2379,http://etcd3:2379
- ETCDCTL_API=3
restart: always
depends_on:
- etcd1
- etcd2
- etcd3
- mongo
- mysql5_7
- redis
- rabbitmq
- elasticsearch
working_dir: /www
volumes:
- ../micro-mall-sku-cron/micro-mall-sku-cron:/www/micro-mall-sku-cron
- ../micro-mall-sku-cron/etc:/www/etc
command: [ './micro-mall-sku-cron' ]

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/cristiane-micro-mall-api.git
git@gitlife.ru:oschina-mirror/cristiane-micro-mall-api.git
oschina-mirror
cristiane-micro-mall-api
cristiane-micro-mall-api
main