Skip to content

kneu-messenger-pigeon/gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release

Run test

docker build -t test-nginx . && \
docker run --rm --add-host authorizer:127.0.0.1 --add-host host.docker.internal:host-gateway test-nginx nginx -t

Run container

docker build -t test-nginx . && \
docker run -it --rm --add-host authorizer:127.0.0.1 --add-host host.docker.internal:host-gateway test-nginx

Docker-compose example

services:
  gateway:
    image: ghcr.io/kneu-messenger-pigeon/gateway:main
    restart: always
    ports:
      - "8083:80"
      - "8443:443"

    volumes:
      - type: bind
        source: /etc/letsencrypt/live/example.org
        target: /ssl
        read_only: true
    extra_hosts:
      - "host.docker.internal:host-gateway"

Generate SSL certificate using docker

docker run -it --rm -v $(pwd):/export frapsoft/openssl req -x509 -nodes -newkey rsa:4096 -days 1 \
-keyout 'export/privkey.pem' \
-out 'export/fullchain.pem' \
-subj '/CN=localhost'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published