Update
This commit is contained in:
parent
0173d65f9b
commit
35dd2d38bf
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
DEPLOY_DIR := ./deploy
|
DEPLOY_DIR := ./deploy
|
||||||
|
|
||||||
up:
|
up:
|
||||||
- sh ${DEPLOY_DIR}/start-stack.sh
|
- sh ${DEPLOY_DIR}/start-docker.sh
|
||||||
|
|
||||||
down:
|
down:
|
||||||
- docker stack rm egommerce
|
- docker stack rm egommerce
|
||||||
|
@ -104,13 +104,6 @@ services:
|
|||||||
- APP_DOMAIN
|
- APP_DOMAIN
|
||||||
- APP_NAME=api-eventbus
|
- APP_NAME=api-eventbus
|
||||||
- API_REGISTRY_ADDR=api-registry
|
- API_REGISTRY_ADDR=api-registry
|
||||||
# labels:
|
|
||||||
# - traefik.enable=true
|
|
||||||
# - traefik.tcp.routers.eventbus.tls=true
|
|
||||||
# - traefik.tcp.routers.eventbus.rule=HostSNI(`*`)
|
|
||||||
# - traefik.tcp.routers.eventbus.entrypoints=rabbitmq
|
|
||||||
# - traefik.tcp.routers.eventbus.service=eventbus
|
|
||||||
# - traefik.tcp.services.eventbus.loadbalancer.server.port=5672
|
|
||||||
volumes:
|
volumes:
|
||||||
- eventbus_data:/var/lib/rabbitmq
|
- eventbus_data:/var/lib/rabbitmq
|
||||||
- eventbus_logs:/var/log/rabbitmq
|
- eventbus_logs:/var/log/rabbitmq
|
||||||
@ -136,7 +129,7 @@ services:
|
|||||||
- APP_NAME=api-cache
|
- APP_NAME=api-cache
|
||||||
- API_REGISTRY_ADDR=api-registry
|
- API_REGISTRY_ADDR=api-registry
|
||||||
volumes:
|
volumes:
|
||||||
- ../certs/ca/internalCA.crt:/usr/local/share/ca-certificates/internalCA.crt:ro
|
# - ../certs/ca/internalCA.crt:/usr/local/share/ca-certificates/internalCA.crt:ro
|
||||||
- ../bin/register-service:/bin/register-service
|
- ../bin/register-service:/bin/register-service
|
||||||
- ../bin/update-resolv.sh:/bin/update-resolv
|
- ../bin/update-resolv.sh:/bin/update-resolv
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -2,10 +2,8 @@
|
|||||||
# RUN IT FORM THE REPO ROOT DIR
|
# RUN IT FORM THE REPO ROOT DIR
|
||||||
|
|
||||||
echo "Starting egommerce docker stack..."
|
echo "Starting egommerce docker stack..."
|
||||||
docker stack deploy --with-registry-auth \
|
docker stack deploy --with-registry-auth --detach=false \
|
||||||
--detach=false \
|
|
||||||
--compose-file deploy/docker/stack.yml \
|
--compose-file deploy/docker/stack.yml \
|
||||||
--compose-file deploy/docker/stack.prod.yml \
|
|
||||||
--compose-file deploy/docker/stack.dev.yml \
|
--compose-file deploy/docker/stack.dev.yml \
|
||||||
--compose-file deploy/docker/stack.dev.local.yml \
|
--compose-file deploy/docker/stack.dev.local.yml \
|
||||||
egommerce
|
egommerce
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# RUN IT FORM THE REPO ROOT DIR
|
|
||||||
|
|
||||||
echo "Starting egommerce stack..."
|
|
||||||
docker stack deploy --with-registry-auth \
|
|
||||||
--compose-file deploy/egommerce-stack.yml \
|
|
||||||
--compose-file deploy/egommerce-stack.dev.yml \
|
|
||||||
--compose-file deploy/egommerce-stack.dev.local.yml \
|
|
||||||
egommerce
|
|
||||||
|
|
||||||
echo "Done."
|
|
Loading…
Reference in New Issue
Block a user