1 Star 0 Fork 0

StevenGao/train-ticket

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 11.60 KB
一键复制 编辑 原始数据 按行查看 历史
qsliu2017 提交于 2021-08-05 19:45 . Release 0.2.0 (#162)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
version: "3"
services:
# rabbitmq:
# image: rabbitmq:management
# ports:
# - 5672:5672
# - 15672:15672
# networks:
# - my-network
# kafka:
# container_name: kafka
# image: spotify/kafka:latest
# ports:
# - 2181:2181
# - 9092:9092
# networks:
# - my-network
# zipkin:
# image: openzipkin/zipkin
# ports:
# - 9411:9411
# networks:
# - my-network
redis:
image: redis
ports:
- 6379:6379
networks:
- my-network
ts-ui-dashboard:
build: ts-ui-dashboard
image: ${IMG_REPO}/ts-ui-dashboard:${IMG_TAG}
restart: always
ports:
- 8080:8080
networks:
- my-network
ts-auth-service:
build: ts-auth-service
image: ${IMG_REPO}/ts-auth-service:${IMG_TAG}
restart: always
ports:
- 12340:12340
networks:
- my-network
ts-auth-mongo:
image: mongo
networks:
- my-network
ts-user-service:
build: ts-user-service
image: ${IMG_REPO}/ts-user-service:${IMG_TAG}
restart: always
ports:
- 12342:12342
networks:
- my-network
ts-user-mongo:
image: mongo
networks:
- my-network
ts-verification-code-service:
build: ts-verification-code-service
image: ${IMG_REPO}/ts-verification-code-service:${IMG_TAG}
restart: always
ports:
- 15678:15678
networks:
- my-network
ts-account-mongo:
image: mongo
networks:
- my-network
ts-route-service:
build: ts-route-service
image: ${IMG_REPO}/ts-route-service:${IMG_TAG}
restart: always
ports:
- 11178:11178
networks:
- my-network
ts-route-mongo:
image: mongo
networks:
- my-network
ts-contacts-service:
build: ts-contacts-service
image: ${IMG_REPO}/ts-contacts-service:${IMG_TAG}
restart: always
ports:
- 12347:12347
networks:
- my-network
ts-contacts-mongo:
image: mongo
networks:
- my-network
ts-order-service:
build: ts-order-service
image: ${IMG_REPO}/ts-order-service:${IMG_TAG}
restart: always
ports:
- 12031:12031
networks:
- my-network
ts-order-mongo:
image: mongo
networks:
- my-network
ts-order-other-service:
build: ts-order-other-service
image: ${IMG_REPO}/ts-order-other-service:${IMG_TAG}
restart: always
ports:
- 12032:12032
networks:
- my-network
ts-order-other-mongo:
image: mongo
networks:
- my-network
ts-config-service:
build: ts-config-service
image: ${IMG_REPO}/ts-config-service:${IMG_TAG}
restart: always
ports:
- 15679:15679
networks:
- my-network
ts-config-mongo:
image: mongo
networks:
- my-network
ts-station-service:
build: ts-station-service
image: ${IMG_REPO}/ts-station-service:${IMG_TAG}
restart: always
ports:
- 12345:12345
networks:
- my-network
ts-station-mongo:
image: mongo
networks:
- my-network
ts-train-service:
build: ts-train-service
image: ${IMG_REPO}/ts-train-service:${IMG_TAG}
restart: always
ports:
- 14567:14567
networks:
- my-network
ts-train-mongo:
image: mongo
networks:
- my-network
ts-travel-service:
build: ts-travel-service
image: ${IMG_REPO}/ts-travel-service:${IMG_TAG}
restart: always
ports:
- 12346:12346
networks:
- my-network
ts-travel-mongo:
image: mongo
networks:
- my-network
ts-travel2-service:
build: ts-travel2-service
image: ${IMG_REPO}/ts-travel2-service:${IMG_TAG}
restart: always
ports:
- 16346:16346
networks:
- my-network
ts-travel2-mongo:
image: mongo
networks:
- my-network
ts-preserve-service:
build: ts-preserve-service
image: ${IMG_REPO}/ts-preserve-service:${IMG_TAG}
restart: always
ports:
- 14568:14568
networks:
- my-network
ts-preserve-other-service:
build: ts-preserve-other-service
image: ${IMG_REPO}/ts-preserve-other-service:${IMG_TAG}
restart: always
ports:
- 14569:14569
networks:
- my-network
ts-basic-service:
build: ts-basic-service
image: ${IMG_REPO}/ts-basic-service:${IMG_TAG}
restart: always
ports:
- 15680:15680
networks:
- my-network
ts-ticketinfo-service:
build: ts-ticketinfo-service
image: ${IMG_REPO}/ts-ticketinfo-service:${IMG_TAG}
restart: always
ports:
- 15681:15681
networks:
- my-network
ts-price-service:
build: ts-price-service
image: ${IMG_REPO}/ts-price-service:${IMG_TAG}
restart: always
ports:
- 16579:16579
networks:
- my-network
ts-price-mongo:
image: mongo
networks:
- my-network
ts-notification-service:
build: ts-notification-service
image: ${IMG_REPO}/ts-notification-service:${IMG_TAG}
restart: always
ports:
- 17853:17853
networks:
- my-network
ts-security-service:
build: ts-security-service
image: ${IMG_REPO}/ts-security-service:${IMG_TAG}
restart: always
ports:
- 11188:11188
networks:
- my-network
ts-security-mongo:
image: mongo
networks:
- my-network
ts-inside-payment-service:
build: ts-inside-payment-service
image: ${IMG_REPO}/ts-inside-payment-service:${IMG_TAG}
restart: always
ports:
- 18673:18673
networks:
- my-network
ts-inside-payment-mongo:
image: mongo
networks:
- my-network
ts-execute-service:
build: ts-execute-service
image: ${IMG_REPO}/ts-execute-service:${IMG_TAG}
restart: always
ports:
- 12386:12386
networks:
- my-network
ts-payment-service:
build: ts-payment-service
image: ${IMG_REPO}/ts-payment-service:${IMG_TAG}
restart: always
ports:
- 19001:19001
networks:
- my-network
ts-payment-mongo:
image: mongo
networks:
- my-network
ts-rebook-service:
build: ts-rebook-service
image: ${IMG_REPO}/ts-rebook-service:${IMG_TAG}
restart: always
ports:
- 18886:18886
networks:
- my-network
ts-rebook-mongo:
image: mongo
networks:
- my-network
ts-cancel-service:
build: ts-cancel-service
image: ${IMG_REPO}/ts-cancel-service:${IMG_TAG}
restart: always
ports:
- 18885:18885
networks:
- my-network
ts-assurance-service:
build: ts-assurance-service
image: ${IMG_REPO}/ts-assurance-service:${IMG_TAG}
restart: always
ports:
- 18888:18888
networks:
- my-network
ts-assurance-mongo:
image: mongo
networks:
- my-network
ts-seat-service:
build: ts-seat-service
image: ${IMG_REPO}/ts-seat-service:${IMG_TAG}
restart: always
ports:
- 18898:18898
networks:
- my-network
ts-travel-plan-service:
build: ts-travel-plan-service
image: ${IMG_REPO}/ts-travel-plan-service:${IMG_TAG}
restart: always
ports:
- 14322:14322
networks:
- my-network
ts-ticket-office-service:
build: ts-ticket-office-service
image: ${IMG_REPO}/ts-ticket-office-service:${IMG_TAG}
restart: always
ports:
- 16108:16108
networks:
- my-network
ts-ticket-office-mongo:
image: mongo
networks:
- my-network
ts-news-service:
build: ts-news-service
image: ${IMG_REPO}/ts-news-service:${IMG_TAG}
restart: always
ports:
- 12862:12862
networks:
- my-network
ts-news-mongo:
image: mongo
networks:
- my-network
ts-voucher-mysql:
image: mysql
expose:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: root
networks:
- my-network
ts-voucher-service:
build: ts-voucher-service
image: ${IMG_REPO}/ts-voucher-service:${IMG_TAG}
restart: always
ports:
- 16101:16101
depends_on:
- ts-voucher-mysql
volumes:
- /var/lib/mysql
networks:
- my-network
ts-food-map-service:
build: ts-food-map-service
image: ${IMG_REPO}/ts-food-map-service:${IMG_TAG}
restart: always
ports:
- 18855:18855
networks:
- my-network
ts-food-map-mongo:
image: mongo
networks:
- my-network
ts-route-plan-service:
build: ts-route-plan-service
image: ${IMG_REPO}/ts-route-plan-service:${IMG_TAG}
restart: always
ports:
- 14578:14578
networks:
- my-network
ts-food-service:
build: ts-food-service
image: ${IMG_REPO}/ts-food-service:${IMG_TAG}
restart: always
ports:
- 18856:18856
networks:
- my-network
ts-consign-service:
build: ts-consign-service
image: ${IMG_REPO}/ts-consign-service:${IMG_TAG}
restart: always
ports:
- 16111:16111
networks:
- my-network
ts-consign-mongo:
image: mongo
networks:
- my-network
ts-consign-price-service:
build: ts-consign-price-service
image: ${IMG_REPO}/ts-consign-price-service:${IMG_TAG}
restart: always
ports:
- 16110:16110
networks:
- my-network
ts-consign-price-mongo:
image: mongo
networks:
- my-network
ts-food-mongo:
image: mongo
networks:
- my-network
ts-admin-basic-info-service:
build: ts-admin-basic-info-service
image: ${IMG_REPO}/ts-admin-basic-info-service:${IMG_TAG}
restart: always
ports:
- 18767:18767
networks:
- my-network
ts-admin-order-service:
build: ts-admin-order-service
image: ${IMG_REPO}/ts-admin-order-service:${IMG_TAG}
restart: always
ports:
- 16112:16112
networks:
- my-network
ts-admin-route-service:
build: ts-admin-route-service
image: ${IMG_REPO}/ts-admin-route-service:${IMG_TAG}
restart: always
ports:
- 16113:16113
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- my-network
ts-admin-travel-service:
build: ts-admin-travel-service
image: ${IMG_REPO}/ts-admin-travel-service:${IMG_TAG}
restart: always
ports:
- 16114:16114
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- my-network
ts-admin-user-service:
build: ts-admin-user-service
image: ${IMG_REPO}/ts-admin-user-service:${IMG_TAG}
restart: always
ports:
- 16115:16115
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- my-network
ts-avatar-service:
image: ${NAMESPACE}/ts-avatar-service:${TAG}
restart: always
ports:
- 17001:17001
networks:
- my-network
networks:
my-network:
# driver: overlay
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gaoshutao/train-ticket.git
git@gitee.com:gaoshutao/train-ticket.git
gaoshutao
train-ticket
train-ticket
master

搜索帮助