Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
/ deployment Public archive

This repository contains the docker configuration for the deployment. The deployment consists of the Laravel backend (Inpriparo), the Angular frontend (Vnint), a MySQL database, a caching database and traefik for networking.

Notifications You must be signed in to change notification settings

diribitio/deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diribitio-deployment (on a server running Ubuntu)

Prerequisites

  1. Install Docker
  2. Deploy Portainer (optional)
  3. Set MaxSessions in /etc/ssh/sshd_config (on remote host) to something like 200

Deploy Diribitio

  1. Copy the .env.example file to .env and modify it
  2. Copy the laravel.env.example file in the backend folder to laravel.env and modify it
  3. Run DOCKER_HOST="ssh://user@ip" docker-compose up -d
  4. Run php artisan migrate --database=landlord --path=database/migrations/landlord/
  5. Create a tenant with php artisan tenant:create dev dev
  6. Migrate the tenant and invite an admin (tenant:create_admin)
  7. Run php artisan storage:link in the project directory

About

This repository contains the docker configuration for the deployment. The deployment consists of the Laravel backend (Inpriparo), the Angular frontend (Vnint), a MySQL database, a caching database and traefik for networking.

Topics

Resources

Stars

Watchers

Forks