Update mikr.us env
This commit is contained in:
parent
db87d52012
commit
1c1c2029d2
@ -138,3 +138,5 @@ services:
|
|||||||
- DATABASE_URL=postgres://postgres:12345678@postgres-db:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@postgres-db:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@api-eventbus:5672
|
- EVENTBUS_URL=amqp://guest:guest@api-eventbus:5672
|
||||||
|
|
||||||
|
networks:
|
@ -1,25 +1,25 @@
|
|||||||
upstream egommerce-api-gw {
|
upstream egommerce-api-gw {
|
||||||
server 127.0.0.1:48443;
|
server 135.181.211.5:40056;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream egommerce-api-gw-dashboard {
|
upstream egommerce-api-gw-dashboard {
|
||||||
server 127.0.0.1:48444;
|
server 135.181.211.5:40057;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream egommerce-api-registry-ui {
|
upstream egommerce-api-registry-ui {
|
||||||
server 127.0.0.1:48445;
|
server 135.181.211.5:40058;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream egommerce-api-eventbus-mngmt {
|
upstream egommerce-api-eventbus-mngmt {
|
||||||
server 127.0.0.1:48446;
|
server 135.181.211.5:40059;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen [2a01:4f9:3a:2910::271]:20271 ssl;
|
||||||
ssl_certificate /etc/letsencrypt/live/admin.egommerce.pbiernat.dev/fullchain.pem;
|
ssl_certificate /home/keedosn/egommerce/deploy/certs/api-gateway/client.cert;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/admin.egommerce.pbiernat.dev/privkey.pem;
|
ssl_certificate_key /home/keedosn/egommerce/deploy/certs/api-gateway/client.key;
|
||||||
|
|
||||||
server_name admin.egommerce.pbiernat.dev;
|
server_name keshop.bieda.it;
|
||||||
|
|
||||||
# Traefik redirects
|
# Traefik redirects
|
||||||
location /dashboard {
|
location /dashboard {
|
||||||
@ -94,27 +94,3 @@ server {
|
|||||||
error_log /var/log/nginx/admin-egommerce.pbiernat.dev-error.log;
|
error_log /var/log/nginx/admin-egommerce.pbiernat.dev-error.log;
|
||||||
access_log /var/log/nginx/admin-egommerce.pbiernat.dev-access.log combined;
|
access_log /var/log/nginx/admin-egommerce.pbiernat.dev-access.log combined;
|
||||||
}
|
}
|
||||||
|
|
||||||
#server {
|
|
||||||
# listen 443 ssl;
|
|
||||||
# ssl_certificate /etc/letsencrypt/live/egommerce.pbiernat.dev/fullchain.pem;
|
|
||||||
# ssl_certificate_key /etc/letsencrypt/live/egommerce.pbiernat.dev/privkey.pem;
|
|
||||||
#
|
|
||||||
# server_name egommerce.pbiernat.dev;
|
|
||||||
#
|
|
||||||
# # Pass all requests to the API Gateway
|
|
||||||
# location / {
|
|
||||||
# proxy_pass https://egommerce-api-gw;
|
|
||||||
# proxy_http_version 1.1;
|
|
||||||
# proxy_pass_header Server;
|
|
||||||
# proxy_set_header Host $host;
|
|
||||||
# proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
# client_max_body_size 0;
|
|
||||||
# }
|
|
||||||
#
|
|
||||||
# error_log /var/log/nginx/egommerce.pbiernat.dev-error.log;
|
|
||||||
# access_log /var/log/nginx/egommerce.pbiernat.dev-access.log combined;
|
|
||||||
#}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user