GithubHelp home page GithubHelp logo

avni-docker's Introduction

Set up avni environment using Docker Compose

Docker compose requires docker engine to be installed in your machine. So install docker engine from here, then you need to install docker compose from here.

For setting up avni server and webapp locally you don't need to clone the entire project. Simply copy docker-compose.yml file and run docker-compose up. This will start avni server and you can access webapp using http://localhost:8021/. All the db data is saved in the external volume, as long as you stop the containers gracefully using docker-compose down.

Important commands

docker pull vind3v/avni-server:3.7 to pull a docker image.

docker run vind3v/avni-server:3.7 to run a image.

docker exec -it avni-db bin/sh to ssh into db container.

docker-compose up to bring up the env.

docker-compose down to bring down the env.

docker-compose down -v to bring down the env and delete volumes.

docker-compose stop to stop the containers.

docker-compose start to start the stopped containers.

All docker-compose commands should be run from the directory containing docker-compose.yml file

Commands to build and push docker image

docker build -t <repo-name>:<tag> -f <docker-file-path> .
docker push <hub-user>/<repo-name>:<tag>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.