Giter VIP home page Giter VIP logo

sailor-services's Introduction

Introduction

This package contains my own services and settings for yourivw/sailor.

Installation

Install this package as a dev dependency using composer:

composer require yourivw/sailor-services:dev-main --dev

Usage

See the documentation of yourivw/sailor for information on usage.

Services

HTTPS

The HTTPS service is a proxy based on the Nginx docker image, forwarding HTTPS traffic to Laravel. A certificate and CA certificate are automatically generated using mkcert. The CA can be changed by (re)placing the required files in ./.docker/https/CA, or by specifying a different directory containing these files (./.docker/https/CA:/etc/nginx/CA in the docker-compose file). Two files are expected in this CA directory, rootCA.pem containing the CA certificate, and rootCA-key.pem containing the PKCS#8 private key.

Proxies

Extra proxies can be added by modifying the SSL_SERVICES environment variable. In the following example, port 443 will be forwarded to port 80 on the laravel.test service, and port 8443 will be forwarded to port 80 on the api service.

https:
    environment:
        SSL_SERVICES: 'laravel.test:80:443;api:80:8443'

Certificate domains

By default the following domains/IP's will be added to the certificate:

  • $APP_SERVICE (from .env, defaults to laravel.test)
  • *.$APP_SERVICE
  • localhost
  • 127.0.0.1

Additional domains/IP's can be added as a string through the CERT_DOMAINS environment variable:

https:
    environment:
        CERT_DOMAINS: 'laravel.local laravel.example 192.168.2.1

PHPMyAdmin

A service based on the PHPMyAdmin docker image with basic configuration. See related documentation for additional configuration.

Redis Commander

A service based on the redis-commander docker image with basic configuration. See related documentation for additional configuration.

RedisInsight

A service based on the RedisInsight docker image with basic configuration. See related documentation for additional configuration. An connection to redis:6379 is pre-added, named 'Local'.

Contributing

Since this package contains my personal services, I'm not accepting contributions to this package.

License

This package is open-sourced software licensed under the MIT license.

sailor-services's People

Contributors

yourivw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.