Reorganize HTTP ports to avoid header confusion
This commit is contained in:
parent
086372e065
commit
4451d479a2
55
README.md
55
README.md
@ -59,34 +59,27 @@ vi 00-install.sh
|
|||||||
|
|
||||||
## Port assignment
|
## Port assignment
|
||||||
|
|
||||||
### Services
|
| Application | Internal Port | HTTP Port | HTTPS Port |
|
||||||
|
|-----------------|-----------------:|----------:|-----------:|
|
||||||
| Application | Port |
|
| ActiveMQ | 61616 (ActiveMQ) | N/A | N/A |
|
||||||
|-------------|------:|
|
| CKAN | 8003 (HTTP) | 8803 | 8403 |
|
||||||
| ActiveMQ | 61616 |
|
| CKAN Datapusher | 8004 (HTTP) | N/A | N/A |
|
||||||
| MariaDB | 3306 |
|
| Crisis Cleanup | 8005 (HTTP) | 8805 | 8405 |
|
||||||
| RabbitMQ | 5672 |
|
| CTS | 8006 (HTTP) | 8806 | 8406 |
|
||||||
| Redis | 6379 |
|
| GNU Health | 8008 (HTTP) | 8808 | 8408 |
|
||||||
| Postfix | 25 |
|
| KanBoard | 8009 (HTTP) | 8809 | 8409 |
|
||||||
| Postgres | 5432 |
|
| MariaDB | 3306 (MySQL) | N/A | N/A |
|
||||||
| Solr | 8983 |
|
| Mifos X | 8012 (HTTP) | 8812 | 8412 |
|
||||||
|
| Motech | 8013 (HTTP) | 8813 | 8413 |
|
||||||
### Applications
|
| OpenMapKit | 8007 (HTTP) | 8807 | 8407 |
|
||||||
|
| Pan.do/ra | 8002 (HTTP) | 8802 | 8402 |
|
||||||
| Application | HTTP Port | HTTPS Port |
|
| Postfix | 25 (SMTP) | N/A | N/A |
|
||||||
|-------------|----------:|-----------:|
|
| Postgres | 5432 (Postgres) | N/A | N/A |
|
||||||
| Sahana | 8001 | 8401 |
|
| RabbitMQ | 5672 (AMQP) | N/A | N/A |
|
||||||
| SAMBRO | 8099 | 8499 |
|
| Redis | 6379 (Redis) | N/A | N/A |
|
||||||
| Pan.do/ra | 8002 | 8402 |
|
| Sahana | 8001 (HTTP) | 8801 | 8401 |
|
||||||
| CKAN | 8003 | 8403 |
|
| SAMBRO | 8001 (HTTP) | 8899 | 8499 |
|
||||||
| CKAN Datapusher | 8004 | N/A |
|
| SeedDMS | 8010 (HTTP) | 8810 | 8410 |
|
||||||
| Crisis Cleanup | 8005 | 8405 |
|
| Sigmah | 8011 (HTTP) | 8811 | 8011 |
|
||||||
| CTS | 8006 | 8406 |
|
| Solr | 8983 (HTTP) | N/A | N/A |
|
||||||
| OpenMapKit | 8007 | 8407 |
|
| Ushahidi | 8014 (HTTP) | 8814 | 8414 |
|
||||||
| GNU Health | 8008 | 8408 |
|
|
||||||
| KanBoard | 8009 | 8409 |
|
|
||||||
| SeedDMS | 8010 | 8410 |
|
|
||||||
| Sigmah | 8011 | 8011 |
|
|
||||||
| Mifos X | 8012 | 8412 |
|
|
||||||
| Motech | 8013 | 8413 |
|
|
||||||
| Ushahidi | 8014 | 8414 |
|
|
||||||
|
@ -15,7 +15,3 @@ chown -R 8004:8004 /srv/ckan-datapusher/data
|
|||||||
cp ${SOURCE_DIR}/etc/init.d/ckan-datapusher /etc/init.d/ckan-datapusher
|
cp ${SOURCE_DIR}/etc/init.d/ckan-datapusher /etc/init.d/ckan-datapusher
|
||||||
rc-update add ckan-datapusher boot
|
rc-update add ckan-datapusher boot
|
||||||
service ckan-datapusher start
|
service ckan-datapusher start
|
||||||
|
|
||||||
# Create nginx app definition
|
|
||||||
cp ${SOURCE_DIR}/etc/nginx/conf.d/ckan-datapusher.conf /etc/nginx/conf.d/ckan-datapusher.conf
|
|
||||||
service nginx reload
|
|
||||||
|
@ -11,7 +11,6 @@ start() {
|
|||||||
/usr/bin/docker run -d --rm \
|
/usr/bin/docker run -d --rm \
|
||||||
--name ckan-datapusher \
|
--name ckan-datapusher \
|
||||||
-h ckan-datapusher \
|
-h ckan-datapusher \
|
||||||
-p 127.0.0.1:9004:8004 \
|
|
||||||
-v /srv/ckan-datapusher/conf:/etc/ckan-datapusher \
|
-v /srv/ckan-datapusher/conf:/etc/ckan-datapusher \
|
||||||
-v /srv/ckan-datapusher/data:/srv/ckan-datapusher/data \
|
-v /srv/ckan-datapusher/data:/srv/ckan-datapusher/data \
|
||||||
ckan-datapusher
|
ckan-datapusher
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
server {
|
|
||||||
listen [::1]:8004 ipv6only=off;
|
|
||||||
|
|
||||||
access_log /var/log/nginx/ckan-datapusher.access.log;
|
|
||||||
error_log /var/log/nginx/ckan-datapusher.error.log;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://127.0.0.1:9004;
|
|
||||||
}
|
|
||||||
}
|
|
@ -20,7 +20,7 @@ start() {
|
|||||||
--link redis \
|
--link redis \
|
||||||
--link solr \
|
--link solr \
|
||||||
--link ckan-datapusher \
|
--link ckan-datapusher \
|
||||||
-p 127.0.0.1:9003:8003 \
|
-p 127.0.0.1:8003:8003 \
|
||||||
-v /srv/ckan/conf:/etc/ckan \
|
-v /srv/ckan/conf:/etc/ckan \
|
||||||
-v /srv/ckan/data:/srv/ckan/storage \
|
-v /srv/ckan/data:/srv/ckan/storage \
|
||||||
ckan
|
ckan
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8003 ipv6only=off;
|
listen [::]:8803 ipv6only=off;
|
||||||
listen [::]:8403 ssl http2 ipv6only=off;
|
listen [::]:8403 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/ckan.access.log;
|
access_log /var/log/nginx/ckan.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9003;
|
proxy_pass http://127.0.0.1:8003;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name crisiscleanup \
|
--name crisiscleanup \
|
||||||
-h crisiscleanup \
|
-h crisiscleanup \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9005:8005 \
|
-p 127.0.0.1:8005:8005 \
|
||||||
-v /srv/crisiscleanup/conf:/srv/crisiscleanup/config \
|
-v /srv/crisiscleanup/conf:/srv/crisiscleanup/config \
|
||||||
crisiscleanup
|
crisiscleanup
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8005 ipv6only=off;
|
listen [::]:8805 ipv6only=off;
|
||||||
listen [::]:8405 ssl http2 ipv6only=off;
|
listen [::]:8405 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/crisiscleanup.access.log;
|
access_log /var/log/nginx/crisiscleanup.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9005;
|
proxy_pass http://127.0.0.1:8005;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name cts \
|
--name cts \
|
||||||
-h cts \
|
-h cts \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9006:8006 \
|
-p 127.0.0.1:8006:8006 \
|
||||||
-v /srv/cts/conf:/srv/cts/cts/settings \
|
-v /srv/cts/conf:/srv/cts/cts/settings \
|
||||||
cts
|
cts
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8006 ipv6only=off;
|
listen [::]:8806 ipv6only=off;
|
||||||
listen [::]:8406 ssl http2 ipv6only=off;
|
listen [::]:8406 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/cts.access.log;
|
access_log /var/log/nginx/cts.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9006;
|
proxy_pass http://127.0.0.1:8006;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name gnuhealth \
|
--name gnuhealth \
|
||||||
-h gnuhealth \
|
-h gnuhealth \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9008:8008 \
|
-p 127.0.0.1:8008:8008 \
|
||||||
-v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config \
|
-v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config \
|
||||||
gnuhealth
|
gnuhealth
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8008 ipv6only=off;
|
listen [::]:8808 ipv6only=off;
|
||||||
listen [::]:8408 ssl http2 ipv6only=off;
|
listen [::]:8408 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/gnuhealth.access.log;
|
access_log /var/log/nginx/gnuhealth.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9008;
|
proxy_pass http://127.0.0.1:8008;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name kanboard \
|
--name kanboard \
|
||||||
-h kanboard \
|
-h kanboard \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9009:8009 \
|
-p 127.0.0.1:8009:8009 \
|
||||||
-v /srv/kanboard/data:/srv/kanboard/data/files \
|
-v /srv/kanboard/data:/srv/kanboard/data/files \
|
||||||
-v /srv/kanboard/conf/config.php:/srv/kanboard/config.php \
|
-v /srv/kanboard/conf/config.php:/srv/kanboard/config.php \
|
||||||
kanboard
|
kanboard
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8009 ipv6only=off;
|
listen [::]:8809 ipv6only=off;
|
||||||
listen [::]:8409 ssl http2 ipv6only=off;
|
listen [::]:8409 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/kanboard.access.log;
|
access_log /var/log/nginx/kanboard.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9009;
|
proxy_pass http://127.0.0.1:8009;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name mifosx \
|
--name mifosx \
|
||||||
-h mifosx \
|
-h mifosx \
|
||||||
--link mariadb \
|
--link mariadb \
|
||||||
-p 127.0.0.1:9012:8012 \
|
-p 127.0.0.1:8012:8012 \
|
||||||
-v /srv/mifosx/conf/context.xml:/srv/tomcat/webapps/fineract-provider/META-INF/context.xml \
|
-v /srv/mifosx/conf/context.xml:/srv/tomcat/webapps/fineract-provider/META-INF/context.xml \
|
||||||
mifosx
|
mifosx
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8012 ipv6only=off;
|
listen [::]:8812 ipv6only=off;
|
||||||
listen [::]:8412 ssl http2 ipv6only=off;
|
listen [::]:8412 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/mifosx.access.log;
|
access_log /var/log/nginx/mifosx.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9012;
|
proxy_pass http://127.0.0.1:8012;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,13 +31,13 @@ service motech start
|
|||||||
|
|
||||||
# Configure Motech admin
|
# Configure Motech admin
|
||||||
echo `date` '- Waiting for database to be populated. This should take about a minute.'
|
echo `date` '- Waiting for database to be populated. This should take about a minute.'
|
||||||
until curl -s http://127.0.0.1:9013/motech/module/server/startup/ | grep -q adminLogin; do
|
until curl -s http://127.0.0.1:8013/motech/module/server/startup/ | grep -q adminLogin; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
export MOTECH_ADMIN_USER="admin"
|
export MOTECH_ADMIN_USER="admin"
|
||||||
export MOTECH_ADMIN_EMAIL="admin@example.com"
|
export MOTECH_ADMIN_EMAIL="admin@example.com"
|
||||||
export MOTECH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
export MOTECH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
||||||
curl -H "Content-Type: application/json" -X POST -d "{\"adminLogin\":\"${MOTECH_ADMIN_USER}\",\"adminEmail\":\"${MOTECH_ADMIN_EMAIL}\",\"adminPassword\":\"${MOTECH_ADMIN_PWD}\",\"adminConfirmPassword\":\"${MOTECH_ADMIN_PWD}\",\"language\":\"cs\",\"providerName\":\"\",\"providerUrl\":\"\",\"schedulerUrl\":\"\"}" http://127.0.0.1:9013/motech/module/server/startup/
|
curl -H "Content-Type: application/json" -X POST -d "{\"adminLogin\":\"${MOTECH_ADMIN_USER}\",\"adminEmail\":\"${MOTECH_ADMIN_EMAIL}\",\"adminPassword\":\"${MOTECH_ADMIN_PWD}\",\"adminConfirmPassword\":\"${MOTECH_ADMIN_PWD}\",\"language\":\"cs\",\"providerName\":\"\",\"providerUrl\":\"\",\"schedulerUrl\":\"\"}" http://127.0.0.1:8013/motech/module/server/startup/
|
||||||
|
|
||||||
# Create nginx app definition
|
# Create nginx app definition
|
||||||
cp ${SOURCE_DIR}/etc/nginx/conf.d/motech.conf /etc/nginx/conf.d/motech.conf
|
cp ${SOURCE_DIR}/etc/nginx/conf.d/motech.conf /etc/nginx/conf.d/motech.conf
|
||||||
|
@ -14,7 +14,7 @@ start() {
|
|||||||
-h motech \
|
-h motech \
|
||||||
--link activemq \
|
--link activemq \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9013:8013 \
|
-p 127.0.0.1:8013:8013 \
|
||||||
-v /srv/motech/conf:/srv/tomcat/.motech \
|
-v /srv/motech/conf:/srv/tomcat/.motech \
|
||||||
motech
|
motech
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8013 ipv6only=off;
|
listen [::]:8813 ipv6only=off;
|
||||||
listen [::]:8413 ssl http2 ipv6only=off;
|
listen [::]:8413 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/motech.access.log;
|
access_log /var/log/nginx/motech.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9013;
|
proxy_pass http://127.0.0.1:8013;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ start() {
|
|||||||
/usr/bin/docker run -d --rm \
|
/usr/bin/docker run -d --rm \
|
||||||
--name openmapkit \
|
--name openmapkit \
|
||||||
-h openmapkit \
|
-h openmapkit \
|
||||||
-p 127.0.0.1:9007:8007 \
|
-p 127.0.0.1:8007:8007 \
|
||||||
-v /srv/openmapkit/conf/settings.js:/srv/openmapkit/settings.js \
|
-v /srv/openmapkit/conf/settings.js:/srv/openmapkit/settings.js \
|
||||||
-v /srv/openmapkit/data:/srv/openmapkit/data \
|
-v /srv/openmapkit/data:/srv/openmapkit/data \
|
||||||
openmapkit
|
openmapkit
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8007 ipv6only=off;
|
listen [::]:8807 ipv6only=off;
|
||||||
listen [::]:8407 ssl http2 ipv6only=off;
|
listen [::]:8407 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/openmapkit.access.log;
|
access_log /var/log/nginx/openmapkit.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9007;
|
proxy_pass http://127.0.0.1:8007;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ start() {
|
|||||||
-h pandora \
|
-h pandora \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
--link rabbitmq \
|
--link rabbitmq \
|
||||||
-p 127.0.0.1:9011:8002 \
|
-p 127.0.0.1:8002:8002 \
|
||||||
-v /srv/pandora/conf:/srv/pandora/conf \
|
-v /srv/pandora/conf:/srv/pandora/conf \
|
||||||
-v /srv/pandora/data:/srv/pandora/data \
|
-v /srv/pandora/data:/srv/pandora/data \
|
||||||
pandora
|
pandora
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8002 ipv6only=off;
|
listen [::]:8802 ipv6only=off;
|
||||||
listen [::]:8402 ssl http2 ipv6only=off;
|
listen [::]:8402 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/pandora.access.log;
|
access_log /var/log/nginx/pandora.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9011;
|
proxy_pass http://127.0.0.1:8002;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name sahana \
|
--name sahana \
|
||||||
-h sahana \
|
-h sahana \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9001:8001 \
|
-p 127.0.0.1:8001:8001 \
|
||||||
-v /srv/sahana/conf:/srv/web2py/applications/eden/models \
|
-v /srv/sahana/conf:/srv/web2py/applications/eden/models \
|
||||||
-v /srv/sahana/data/Spotter:/srv/web2py/applications/eden/modules/templates/Spotter \
|
-v /srv/sahana/data/Spotter:/srv/web2py/applications/eden/modules/templates/Spotter \
|
||||||
-v /srv/sahana/data/databases:/srv/web2py/applications/eden/databases \
|
-v /srv/sahana/data/databases:/srv/web2py/applications/eden/databases \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8001 ipv6only=off;
|
listen [::]:8801 ipv6only=off;
|
||||||
listen [::]:8401 ssl http2 ipv6only=off;
|
listen [::]:8401 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/sahana.access.log;
|
access_log /var/log/nginx/sahana.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9001;
|
proxy_pass http://127.0.0.1:8001;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name sambro \
|
--name sambro \
|
||||||
-h sambro \
|
-h sambro \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9099:8001 \
|
-p 127.0.0.1:8099:8001 \
|
||||||
-v /srv/sambro/conf:/srv/web2py/applications/eden/models \
|
-v /srv/sambro/conf:/srv/web2py/applications/eden/models \
|
||||||
-v /srv/sambro/data/SAMBRO:/srv/web2py/applications/eden/modules/templates/SAMBRO \
|
-v /srv/sambro/data/SAMBRO:/srv/web2py/applications/eden/modules/templates/SAMBRO \
|
||||||
-v /srv/sambro/data/databases:/srv/web2py/applications/eden/databases \
|
-v /srv/sambro/data/databases:/srv/web2py/applications/eden/databases \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8099 ipv6only=off;
|
listen [::]:8899 ipv6only=off;
|
||||||
listen [::]:8499 ssl http2 ipv6only=off;
|
listen [::]:8499 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/sambro.access.log;
|
access_log /var/log/nginx/sambro.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9099;
|
proxy_pass http://127.0.0.1:8099;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name seeddms \
|
--name seeddms \
|
||||||
-h seeddms \
|
-h seeddms \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9010:8010 \
|
-p 127.0.0.1:8010:8010 \
|
||||||
-v /srv/seeddms/data:/srv/seeddms/data \
|
-v /srv/seeddms/data:/srv/seeddms/data \
|
||||||
-v /srv/seeddms/conf:/srv/seeddms/www/conf \
|
-v /srv/seeddms/conf:/srv/seeddms/www/conf \
|
||||||
seeddms
|
seeddms
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8010 ipv6only=off;
|
listen [::]:8810 ipv6only=off;
|
||||||
listen [::]:8410 ssl http2 ipv6only=off;
|
listen [::]:8410 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/seeddms.access.log;
|
access_log /var/log/nginx/seeddms.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9010;
|
proxy_pass http://127.0.0.1:8010;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name sigmah \
|
--name sigmah \
|
||||||
-h sigmah \
|
-h sigmah \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:9015:8011 \
|
-p 127.0.0.1:8011:8011 \
|
||||||
-v /srv/sigmah/data:/srv/sigmah/data \
|
-v /srv/sigmah/data:/srv/sigmah/data \
|
||||||
-v /srv/sigmah/conf/persistence.xml:/srv/tomcat/webapps/sigmah/WEB-INF/classes/META-INF/persistence.xml \
|
-v /srv/sigmah/conf/persistence.xml:/srv/tomcat/webapps/sigmah/WEB-INF/classes/META-INF/persistence.xml \
|
||||||
-v /srv/sigmah/conf/sigmah.properties:/srv/tomcat/webapps/sigmah/WEB-INF/classes/sigmah.properties \
|
-v /srv/sigmah/conf/sigmah.properties:/srv/tomcat/webapps/sigmah/WEB-INF/classes/sigmah.properties \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8011 ipv6only=off;
|
listen [::]:8811 ipv6only=off;
|
||||||
listen [::]:8411 ssl http2 ipv6only=off;
|
listen [::]:8411 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/sigmah.access.log;
|
access_log /var/log/nginx/sigmah.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9015;
|
proxy_pass http://127.0.0.1:8011;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ start() {
|
|||||||
--name ushahidi \
|
--name ushahidi \
|
||||||
-h ushahidi \
|
-h ushahidi \
|
||||||
--link mariadb \
|
--link mariadb \
|
||||||
-p 127.0.0.1:9014:8014 \
|
-p 127.0.0.1:8014:8014 \
|
||||||
-v /srv/ushahidi/conf/env:/srv/ushahidi/platform/.env \
|
-v /srv/ushahidi/conf/env:/srv/ushahidi/platform/.env \
|
||||||
ushahidi
|
ushahidi
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:8014 ipv6only=off;
|
listen [::]:8814 ipv6only=off;
|
||||||
listen [::]:8414 ssl http2 ipv6only=off;
|
listen [::]:8414 ssl http2 ipv6only=off;
|
||||||
|
|
||||||
access_log /var/log/nginx/ushahidi.access.log;
|
access_log /var/log/nginx/ushahidi.access.log;
|
||||||
@ -9,6 +9,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Host $host:$server_port;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:9014;
|
proxy_pass http://127.0.0.1:8014;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user