Moved mongo into composition. User internal network names.

pull/81/head
Halil İbrahim Kalkan 9 years ago
parent 52e031c957
commit 9a7e2d4660

@ -1,14 +1,22 @@
version: '2'
services:
mongodb:
image: tutum/mongodb
environment:
- AUTH=no
abpidentity_httpapihost:
image: abpidentity/httpapihost
environment:
- ASPNETCORE_ENVIRONMENT=Staging
abpdesk_web:
image: abpdesk/web
environment:
- ASPNETCORE_ENVIRONMENT=Staging
load_balancer:
image: haproxy:1.7.1
volumes:

@ -1,4 +1,5 @@
docker rm $(docker ps -aq)
docker-compose up -d mongodb
docker-compose up -d abpidentity_httpapihost
docker-compose up -d abpdesk_web
sleep 2

@ -1,11 +1,11 @@
{
"ConnectionStrings": {
"Default": "Server=192.168.1.36;Database=AbpDesk;User=sa;Password=123qwe;",
"AbpDeskMongoBlog": "mongodb://192.168.1.36:27017|AbpDeskBlog"
"Default": "Server=10.0.75.1;Database=AbpDesk;User=sa;Password=123qwe;",
"AbpDeskMongoBlog": "mongodb://outputs_mongodb_1:27017|AbpDeskBlog"
},
"AbpIdentity": {
"HttpProxy": {
"HttpApiClient": {
"ApiUrlBase": "http://outputs_abpidentity_httpapihost_1/"
}
}
}
}

@ -1,5 +1,5 @@
{
"ConnectionStrings": {
"Default": "Server=192.168.1.36;Database=AbpDesk;User=sa;Password=123qwe;"
"Default": "Server=10.0.75.1;Database=AbpDesk;User=sa;Password=123qwe;"
}
}
}
Loading…
Cancel
Save