Skip to content

SchSeba/MiaDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiaDB

Framework to create deployment plans on docker swarm infrastructure

configuration

install

run the pip install -f requirements.txt

sercurity

change SECRET_KEY before production deployment

storage

change BasePath = "/root"
with the root directory storage for your containers

docker

Download and install docker 1.12
run docker with the network parameters
change the file /usr/lib/systemd/system/docker.service

ExecStart=/usr/bin/dockerd -H 0.0.0.0:2376 -H unix:///var/run/docker.sock

database:

use django database configuration
default configuration is sqlite3
can change to any database that is supported by django in the config file

python manage.py migrate
python manage.py createsuperuser

use the configuration file in the images folder

insert them into the database before deployment

run in developer mode

python manage.py runserver

run in production

for production running use gunicorn with nginx and postgres database

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published