infra/prepare/run-production.sh
emmatveev 251d84bb78
All checks were successful
Deploy Prod / Build (pull_request) Successful in 11s
Deploy Prod / Push (pull_request) Successful in 7s
Deploy Prod / prepare (pull_request) Successful in 6s
Deploy Prod / Deploy prod (pull_request) Successful in 31s
Deploy Dev / Build (pull_request) Successful in 1m11s
Deploy Dev / Push (pull_request) Successful in 47s
Deploy Dev / prepare (pull_request) Successful in 15s
Deploy Dev / Deploy dev (pull_request) Successful in 20s
fix
2024-11-24 11:02:45 +03:00

16 lines
812 B
Bash

docker login -u mathwave -p $DOCKERHUB_PASSWORD
docker network create -d overlay --attachable swarmpit-nginx || true
docker network create -d overlay --attachable common-infra-nginx || true
docker network create -d overlay --attachable common-infra-nginx-development || true
docker network create -d overlay --attachable queues || true
docker network create -d overlay --attachable queues-development || true
docker network create -d overlay --attachable configurator || true
docker network create -d overlay --attachable configurator-development || true
mkdir /sprint-data/mongo || true
mkdir /sprint-data/redis || true
mkdir /sprint-data/rabbitmq || true
mkdir /sprint-data/certs || true
mkdir /sprint-data/gitea || true
chmod 777 /sprint-data/redis
chmod 777 /sprint-data/rabbitmq
chmod 777 /sprint-data/gitea