willcodeforcoffee / bandar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bandar

A local webserver. Something I can easily run on a personal website.

Running in Production

Step 1. Build the Application Docker images

First you have to build the Application Docker image:

docker build --tag bandar:1.1.0 --tag bandar:latest .

Second you have to build the Proxy Docker image

docker build --file config/docker/proxy/Dockerfile --tag bandar-proxy:1.1.0 --tag bandar-proxy:latest .

Step 2. Setup the Environment variables

Anything you aren't passing from the environment should be loaded into .env.production.local. Most settings are documented in .env also.

  • Pushover is used to send app notifications
  • SMTP is used to send email

Step 3. Docker Compose to run all services

To run everything use the production compose:

docker-compose -f docker-compose.yml -f config/docker/docker-compose.yml up --detach

Stopping in Production

docker-compose -f docker-compose.yml -f config/docker/docker-compose.yml down

About

License:MIT License


Languages

Language:Ruby 64.0%Language:TypeScript 17.9%Language:HTML 11.4%Language:JavaScript 4.2%Language:Shell 0.9%Language:Dockerfile 0.8%Language:CSS 0.6%Language:SCSS 0.1%