Skip to content

A docker-compose environment to host both frontend and backend services for the KK-67 website

License

Notifications You must be signed in to change notification settings

Kraftsportsklubben-av-1967/kk67-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KK-67 Docker

Docker Node Python PHP

KK-67 website uses the following services:

Prerequesits

You will need docker-compose to be able to use this repository

  1. https://docs.docker.com/compose/install/

Setup

  1. Clone the repo
$ git clone [email protected]:Kraftsportsklubben-av-1967/kk67-docker.git
  1. Create a webroot folder

  2. Clone the above repositories into ./webroot and follow their guides to set them up with docker-compose

  3. Build the compose docker-compose up --build

After this is done you can simply use docker-compose up

  1. The services will be running:
    1. Backend: http://localhost:4000
    2. Frontend: http://localhost:3000

Additional outputs will be displayed in your terminal. Remember to close this once you're done.

Why docker-compose?

Using docker-compose allows us to use virtual machines to load all dependencies and development environment without interfering with our own personal setup. It recreates an identical environment for everyone using the docker-compose.yml config file. As for members of KK, this repository is mainly ment for development purposes. How the frontend and backend is actually is deployed is unfortunatley without docker, but theres nothing we can do about that currently due to our ISP...

Check out this video to learn more

About

A docker-compose environment to host both frontend and backend services for the KK-67 website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published