Commit 467f35da authored by Spiros Koulouzis's avatar Spiros Koulouzis

fixed error in tosca file and added test docker-compose

parent d912721f
......@@ -126,7 +126,6 @@ topology_template:
type: "tosca.artifacts.Deployment.Image.Container.Docker"
interfaces:
Kubernetes:
type: tosca.interfaces.ARTICONF.Kubernetes
delete:
inputs:
repository: https://github.com/skoulouzis/playbooks.git
......
version: '3'
services:
mysql:
image: mysql:5.6
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: semaphore
MYSQL_USER: semaphore
MYSQL_PASSWORD: semaphore
ports:
- "3306:3306"
semaphore:
image: semaphore
environment:
SEMAPHORE_DB_USER: semaphore
SEMAPHORE_DB_PASS: semaphore
SEMAPHORE_DB_HOST: mysql
SEMAPHORE_DB_PORT: 3306
SEMAPHORE_DB: semaphore
SEMAPHORE_PLAYBOOK_PATH: /etc/semaphore
SEMAPHORE_ADMIN_PASSWORD: password
SEMAPHORE_ADMIN_NAME: "Developer"
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN: admin
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
ports:
- "3000:3000"
depends_on:
- mysql
sure-tosca:
image: sure-tosca:3.0.0
ports:
- "8081:8081"
......@@ -20,7 +20,7 @@ services:
- "3306:3306"
semaphore:
image: alogo53/docker_ansible_semaphore
image: semaphore
environment:
SEMAPHORE_DB_USER: semaphore
SEMAPHORE_DB_PASS: semaphore
......@@ -61,7 +61,7 @@ services:
- rabbit
- mongo
- sure-tosca
image: alogo53/manager:3.0.0 #manager:3.0.0
image: manager:3.0.0 #manager:3.0.0
environment:
RABBITMQ_HOST: rabbit
MONGO_HOST: mongo
......@@ -78,7 +78,7 @@ services:
depends_on:
- rabbit
- sure-tosca
image: alogo53/planner:3.0.0 #planner:3.0.0
image: planner:3.0.0 #planner:3.0.0
environment:
RABBITMQ_HOST: rabbit
......@@ -86,19 +86,19 @@ services:
depends_on:
- rabbit
- sure-tosca
image: alogo53/provisioner:3.0.0 #provisioner:3.0.0
image: provisioner:3.0.0 #provisioner:3.0.0
environment:
RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
deployer:
depends_on:
- rabbit
- sure-tosca
image: alogo53/deployer:3.0.0 #deployer:3.0.0
environment:
RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#deployer:
#depends_on:
#- rabbit
#- sure-tosca
#image: deployer:3.0.0 #deployer:3.0.0
#environment:
#RABBITMQ_HOST: rabbit
#SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#volumes:
......
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