Commit aae715af authored by Spiros Koulouzis's avatar Spiros Koulouzis

add simple start script

parent bd083b6a
apiVersion: v1
kind: Pod
metadata:
name: mongo
labels:
name: mongo
spec:
containers:
- resources:
limits :
cpu: 0.5
image: mongo:4
name: mongo
env:
- name: VAR
value: VAL
#ports:
#- containerPort: 27017
#name: mongo
volumeMounts:
- name: mongo-persistent-storage
mountPath: /var/lib/mongo
volumes:
- name: mongo-persistent-storage
gcePersistentDisk:
pdName: mongo-disk
fsType: ext4
apiVersion: v1
kind: Pod
metadata:
name: rabbitmq
labels:
name: rabbitmq
spec:
containers:
- resources:
limits :
cpu: 0.5
image: rabbitmq:3-management
name: rabbitmq
env:
- name: VAR
value: VAL
#ports:
#- containerPort: 15672
#name: rabbitmq
#!/bin/bash
sudo docker stop $(sudo docker ps -q)
docker start mongo-inst
sleep 1
docker start some-rabbit
sleep 1
docker run -d alogo53/sure-tosca:3.0.0
sleep 5
docker run -it -e MONOG_HOST=172.17.0.2 -e RABBITMQ_HOST=172.17.0.3 -e SURE_TOSCA_BASE_PATH=172.17.0.4/8081/tosca-sure/1.0.0 -p 8080:8080 alogo53/drip-manager:3.0.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment