Sign inSign up

scenari/nginx

By scenari

•Updated 6 days ago

Image
0

10K+

scenari/nginx repository overview

Example for Reverse Proxy with HTTPS:

version: '2.4'
services:
  jetty:
    image: scenari/suite-starter:6.1
    stop_grace_period: 120s
    restart: always
    environment:
      - SC_PUBLIC_URL=https://scenari.example.test
      - SC_WEBAPP_NAME=scenari
    volumes:
      - /pathdata/scenari:/var/lib/scenari
      - /pathlogs/jetty:/var/log/jetty9
      - /pathlogs/scenari:/var/log/scenari
  nginx:
    image: scenari/nginx:6.1
    stop_grace_period: 120s
    restart: always
    environment:
      - SC_PUBLIC_URL=https://scenari.example.test
      - SC_WEBAPP_NAME=scenari
      - SSL=true
    volumes:
      - /etc/ssl/cert_on_host.pem:/etc/ssl/cert.pem:ro
      - /etc/ssl/cert_on_host.key:/etc/ssl/cert.key:ro
    ports:
      - 443:443

Example for Reverse Proxy with HTTP:

version: '2.4'
services:
  jetty:
    image: scenari/suite-starter:6.1
    stop_grace_period: 120s
    restart: always
    environment:
      - SC_PUBLIC_URL=http://scenari.example.test
      - SC_WEBAPP_NAME=scenari
    volumes:
      - /pathdata/scenari:/var/lib/scenari
      - /pathlogs/jetty:/var/log/jetty9
      - /pathlogs/scenari:/var/log/scenari
  nginx:
    image: scenari/nginx:6.1
    stop_grace_period: 120s
    restart: always
    environment:
      - SC_PUBLIC_URL=http://scenari.example.test
      - SC_WEBAPP_NAME=scenari
    ports:
      - 80:80

Tag summary

Content type

Image

Digest

sha256:e502ccdac…

Size

8.2 MB

Last updated

6 days ago

docker pull scenari/nginx