Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
7dd58d9b
Commit
7dd58d9b
authored
Sep 03, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed version and selector
parent
827cb249
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
46 deletions
+90
-46
docker-compose.yml
docker-compose/docker-compose.yml
+45
-45
nginx.conf
docker-compose/nginx.conf
+1
-1
mongo-express-deployment.template.yaml
k8s/CONF/DBs/mongo-express-deployment.template.yaml
+44
-0
No files found.
docker-compose/docker-compose.yml
View file @
7dd58d9b
version
:
'
3'
version
:
'
3'
services
:
services
:
#
nginx:
nginx
:
#
image: nginx
image
:
nginx
#
volumes:
volumes
:
#
- ./nginx.conf:/etc/nginx/nginx.conf
-
./nginx.conf:/etc/nginx/nginx.conf
#
- ./cert.pem:/etc/nginx/cert.pem
-
./cert.pem:/etc/nginx/cert.pem
#
- ./privkey.pem:/etc/nginx/privkey.pem
-
./privkey.pem:/etc/nginx/privkey.pem
#
#
- ./www:/data/www
#- ./www:/data/www
#
ports:
ports
:
#
- "80:80"
-
"
80:80"
#
- "443:443"
-
"
443:443"
#rabbit:
#rabbit:
#image: rabbitmq:3.8-management
#image: rabbitmq:3.8-management
...
@@ -32,24 +32,24 @@ services:
...
@@ -32,24 +32,24 @@ services:
##ports:
##ports:
##- "3306:3306"
##- "3306:3306"
#
semaphore:
semaphore
:
#
image: qcdis/docker_ansible_semaphore
image
:
qcdis/docker_ansible_semaphore
#
environment:
environment
:
#
SEMAPHORE_DB_USER: semaphore
SEMAPHORE_DB_USER
:
semaphore
#
SEMAPHORE_DB_PASS: semaphore
SEMAPHORE_DB_PASS
:
semaphore
#
SEMAPHORE_DB_HOST: mysql
SEMAPHORE_DB_HOST
:
mysql
#
SEMAPHORE_DB_PORT: 3306
SEMAPHORE_DB_PORT
:
3306
#
SEMAPHORE_DB: semaphore
SEMAPHORE_DB
:
semaphore
#
SEMAPHORE_PLAYBOOK_PATH: /etc/semaphore
SEMAPHORE_PLAYBOOK_PATH
:
/etc/semaphore
#
SEMAPHORE_ADMIN_PASSWORD: password
SEMAPHORE_ADMIN_PASSWORD
:
password
#
SEMAPHORE_ADMIN_NAME: "Developer"
SEMAPHORE_ADMIN_NAME
:
"
Developer"
#
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN_EMAIL
:
admin@localhost
#
SEMAPHORE_ADMIN: admin
SEMAPHORE_ADMIN
:
admin
#
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
SEMAPHORE_WEB_ROOT
:
http://0.0.0.0:3000
#
ports:
ports
:
#
- "3000:3000"
-
"
3000:3000"
#
depends_on:
depends_on
:
#
- mysql
-
mysql
mongo
:
mongo
:
image
:
mongo:4
image
:
mongo:4
...
@@ -71,24 +71,24 @@ services:
...
@@ -71,24 +71,24 @@ services:
-
"
8082:8082"
-
"
8082:8082"
#
manager:
manager
:
#
depends_on:
depends_on
:
#
- rabbit
-
rabbit
#
- mongo
-
mongo
#
- sure-tosca
-
sure-tosca
#
image: qcdis/manager
image
:
qcdis/manager
#
environment:
environment
:
#
RABBITMQ_HOST: rabbit
RABBITMQ_HOST
:
rabbit
#
MONGO_HOST: mongo
MONGO_HOST
:
mongo
#
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
SURE_TOSCA_BASE_PATH
:
http://sure-tosca:8081/tosca-sure/1.0.0
#
CREDENTIAL_SECRET: top_secret
CREDENTIAL_SECRET
:
top_secret
#
ports:
ports
:
#
- "8080:8080"
-
"
8080:8080"
#
sure-tosca:
sure-tosca
:
#
image: qcdis/sure-tosca
image
:
qcdis/sure-tosca
#
ports:
ports
:
#
- "8081:8081"
-
"
8081:8081"
#planner:
#planner:
#depends_on:
#depends_on:
...
...
docker-compose/nginx.conf
View file @
7dd58d9b
...
@@ -99,7 +99,7 @@ http {
...
@@ -99,7 +99,7 @@ http {
}
}
location
/mongo-express
{
location
/mongo-express
{
proxy_pass
http://mongo-express:8082
;
proxy_pass
http://mongo-express:8082
/mongo-express
;
proxy_set_header
Host
$host
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real_IP
$remote_addr
;
proxy_set_header
X-Real_IP
$remote_addr
;
}
}
...
...
k8s/CONF/DBs/mongo-express-deployment.template.yaml
0 → 100644
View file @
7dd58d9b
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
namespace
:
conf
annotations
:
kompose.cmd
:
kompose convert
kompose.version
:
1.16.0 (0c01309)
creationTimestamp
:
null
labels
:
io.kompose.service
:
mongo-express
name
:
mongo-express
spec
:
selector
:
matchLabels
:
io.kompose.service
:
mongo-express
replicas
:
1
strategy
:
{}
template
:
metadata
:
creationTimestamp
:
null
labels
:
io.kompose.service
:
mongo-express
spec
:
containers
:
-
env
:
-
name
:
ME_CONFIG_BASICAUTH_PASSWORD
value
:
pass
-
name
:
ME_CONFIG_BASICAUTH_USERNAME
value
:
user
-
name
:
ME_CONFIG_MONGODB_PORT
value
:
"
27017"
-
name
:
ME_CONFIG_MONGODB_SERVER
value
:
mongo
-
name
:
ME_CONFIG_SITE_BASEURL
value
:
/mongo-express
-
name
:
VCAP_APP_PORT
value
:
"
8082"
image
:
mongo-express
name
:
mongo-express
ports
:
-
containerPort
:
8082
resources
:
{}
restartPolicy
:
Always
status
:
{}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment