Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

dockerlamp/mono-stack

Repository files navigation

Build Status

Config

Dependencies

yarn is required for dependency management and utility scripts:

npm install -g yarn
yarn install

Development environment on windows < 10

We use vagrant to install docker & docker-compose environment. Docker api is available outside vagrant on port 12345

Start Vagrant and enter services folder:

vagrant up
vagrant ssh
$ cd /vagrant/provision/services

Host mapping in file: c:\Windows\System32\drivers\etc\hosts

192.168.56.131	monostack.vagrant

Development environment on host's docker

Enter services folder:

cd provision/services

Common development scripts

./yarn.sh install
./yarn.sh build
docker-compose up -d

You can create file .env in services folder to setup some enviromental variables. Example of docker-compose project name change:

COMPOSE_PROJECT_NAME=monostack

Application config

Database configuration is ready for docker development but when there is cross-machine configuration you can use .monostackrc file or setup via environmetal variables:

set monostack_model__mongodb__host=monostack.vagrant
set monostack_session__redis__host=monostack.vagrant

UI

http://localhost:3000 or http://monostack.vagrant:3000

About

Mono repo for Lamp Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published