Skip to content

wirvsvirus-dortmund/docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose Build Status

  1. Have this repo checked out in the same directory as frontend and backend, e.g. like this
    $ mkdir supermarkt && cd supermarkt
    $ git clone https://github.com/wirvsvirus-dortmund/frontend 
    $ git clone https://github.com/wirvsvirus-dortmund/backend 
    $ git clone https://github.com/wirvsvirus-dortmund/docker-compose
    $ cd docker-compose
    
  2. Copy the env-template to .env and fill in the necessary values

Developing

  1. Start the backend in the backend directory using

    $ FLASK_DEBUG=true poetry run flask run
    
  2. Start the frontend in the frontend directory

    $ npm run serve
    
  3. Start the nginx coupling them together using

    $ docker-compose up -d nginx-dev
    

Deployment

  1. run

    $ docker-compose up -d --build frontend backend database
    
  2. Visit http://localhost:8080

About

Deployment using docker-compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published