Sign inSign up

shenron/https-proxy

By shenron

Updated about 7 years ago

Use HTTPS proxy to serve REST api, statics

Image
0

273

shenron/https-proxy repository overview

Use HTTPS proxy to serve REST api, statics

version: '3.3'
services:
  https-proxy:
    build:
      # ./https-proxy/Dockerfile
      # FROM shenron/https-proxy
      context: ./https-proxy/
      args:
        domain_name: "real-domain-name.com"
        api_service: "api:3000"
        static_service: "static:80"
        email: "[email protected]"
        dhparam: "2048"
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - letsencrypt-data:/etc/letsencrypt/archive/
      - nginx-ssl-data:/etc/nginx/ssl/
    depends_on:
      - api
      - static

volumes:
  letsencrypt-data:
  nginx-ssl-data:

Tag summary

Content type

Image

Digest

Size

8 MB

Last updated

about 7 years ago

docker pull shenron/https-proxy