Skip to content
teevikPublic

About

Coding competition platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

384 Commits

Folders and files

Repository files navigation

Gruppe 8 - PROG2052 - Kodekamp

Deploying

Single machine, or development

The kode-kamp application can easily be deployed using docker-compose. The following command will build the images and start the services:

export PORT=3000 JWT_SECRET=... EMAIL_USER=... EMAIL_PASS=...
docker-compose up -d

Docker swarm

If deploying on a swarm, you need to create a docker registry first:

docker service create --name registry --publish published=5000,target=5000 registry:2

And then deploy it using:

export PORT=80 JWT_SECRET=... EMAIL_USER=... EMAIL_PASS=...
docker compose build
docker compose push
docker stack deploy -c ./compose.yaml --detach=false kodekamp

About

Coding competition platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages