Skip to content

OrganicityEu-Platform/organicity-discovery-api-infrastructure

Repository files navigation

This is the docker containers architecture used to deploy the assets-discovery api.

Quick Start:

  1. Add .env file

  2. Add /config/ssh folder containing:

  • mongo_ssh_key
  • mongo_ssh_config
  1. Build

docker-compose build

  1. Create the database:

docker-compose exec app rails db:setup

  1. Run docker-compose up

PRODUCTION:

Make sure that MY_STAGE=production in the .env file

docker-compose up -d

DEVELOPMENT:

Make sure that MY_STAGE=local in the .env file

docker-compose up -d

Edit /etc/hosts to contain:

127.0.0.1 discovery.organicity.eu

If needed, visit the site to accept the self-signed ssl discovery.organicity.eu

Releases

No releases published

Packages

No packages published