| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- version: '3.1'
- services:
- php:
- image: php:7-fpm
- container_name: ${CONTAINER_PREFIX}_php
-
- web:
- image: nginx
- depends_on:
- - php
- restart: always
- container_name: ${CONTAINER_PREFIX}_web
- volumes:
- - ${DATA_ROOT}/conf/nginx.conf:/etc/nginx/conf.d/default.conf
- - ${DATA_ROOT}/logs:/var/log/nginx
- - ${DATA_ROOT}/www:/var/www/html
- ports:
- # the router forwards internet traffic from 80 to the host
- # machine where "web" is listening on exposed port 8080
- # the request will be processed according to the
- # configurations in nginx.conf
- - 8280:80
- https-portal:
- image: steveltn/https-portal:1
- container_name: ${CONTAINER_PREFIX}_https-portal
- ports:
- #- 8080:80
- # the router forwards internet traffic from 443 to the host
- # machine where https-portal is listening on 443
- - 8080:80
- - 443:443
- depends_on:
- - web
- restart: always
- volumes:
- - ${DATA_ROOT}/ssl_certs:/var/lib/https-portal
- environment:
- # DOMAINS: 'dav.algometic.com->http://vsu-koala:80 #local,
- # www.vortifytech.com-> http://web:80 #production,
- # cal.algometic.com->http://vsu-koala:80 #local,
- # algometic.com->http://vsu-dolphin:80 #staging'
- # DOMAINS: '
- # algometic.com=>www.algometic.com,
- # www.algometic.com->http://192.168.1.124:8280 #production,
- # mango.algometic.com->http://192.168.1.124:8111 #production,
- # ocd.algometic.com->http://192.168.1.124:1234 #production,
- # code.algometic.com->http://192.168.1.124:9980 #production,
- # 58985620.algometic.com->http://192.168.1.124:8055 #production,
- # melody.algometic.com->http://192.168.1.124:9045 #production,
- # metrics.algometic.com->http://192.168.1.124:3000 #production,
- # books.algometic.com->http://192.168.1.124:8783 #production,
- # syn.algometic.com->http://192.168.1.124:9081 #production,
- # slot.algometic.com->http://192.168.1.124:9981 #production,
- # slot1234.algometic.com->http://192.168.1.124:1235 #production,
- # '
- #
- # if you are getting a 502 bad gateway error (111:connection refused) while
- # connecting to upstream, verify the redirection actually is accessible from
- # within https-portal to the destination.
- # For instance, specifying the hostname vorsprung without the .local
- # domain name resolves to 127.0.0.1, which of course wouldn't work because
- # the service is not running on https-portal. The proper fix is to
- # use vorspurng.local which resolves to 192.168.1.124
- #
- #
- # jupyter.algometic.com->http://192.168.1.124:8564 #production,
- # algometic.com=>www.algometic.com,
- # 1984.algometic.com->192.168.6.10:8118 #production,
- # 3ds.algometic.com->192.168.1.116:5123 #production,
- # hub.algometic.com->http://192.168.1.124:8255 #production,
- # hubreg.algometic.com->http://192.168.1.124:8256 #production,
- # baidu.algometic.com->http://192.168.1.124:6081 #production,
- # matrix.algometic.com->http://192.168.1.124:8380 #production,
- # element.algometic.com->http://192.168.1.124:8008 #production,
- # ocd.algometic.com->http://192.168.1.124:1235 #production,
- # code.algometic.com->http://192.168.1.124:9981 #production,
- # identity.algometic.com->http://192.168.1.124:8090 #production,
- # secouch.algometic.com->http://192.168.1.124:5123 #production,
- # nc2022code.algometic.com->http://192.168.1.124:9982 #production,
- # nc2022.algometic.com->http://192.168.1.124:1236 #production,
- DOMAINS: '
- algometic.com->http://192.168.1.119:8280 #production,
- www.algometic.com->http://192.168.1.119:8280 #production,
- 58985620.algometic.com->http://192.168.1.119:8055 #production,
- melody.algometic.com->http://192.168.1.119:9045 #production,
- metrics.algometic.com->http://192.168.1.119:3000 #production,
- books.algometic.com->http://192.168.1.119:8783 #production,
- syn.algometic.com->http://192.168.1.119:9081 #production,
- git.algometic.com->http://192.168.1.119:3079 #production,
- cine.algometic.com->http://192.168.1.119:8096 #production,
- wg.algometic.com->http://192.168.1.119:8165 #production,
- hub.algometic.com->http://192.168.1.119:8255 #production,
- hubreg.algometic.com->http://192.168.1.119:8256 #production,
- wake.algometic.com->http://192.168.1.119:8081 #production,
- 1984.algometic.com->http://192.168.1.119:1234 #production,
- 1985.algometic.com->http://192.168.1.119:9980 #production,
- chat.algometic.com->http://192.168.1.118:3000 #production,
- '
-
- CLIENT_MAX_BODY_SIZE: 2048M
|