Sign inSign up

usmanmusa/sakyum

By usmanmusa

•Updated over 3 years ago

A demo of sakyum website on docker

Image
0

203

usmanmusa/sakyum repository overview

⁠Run sakyum with Docker Compose

This repo contains code to spin up a boilerplate sakyum project with Docker Compose. Pull it using::

docker pull usmanmusa/sakyum

Next you are to clone the github repo of the project in other to get the docker-compose.yml by:

git clone https://github.com/usmanmusa1920/sakyum.git

Now cd into the project folder you just clone to spin up the services using the command::

cd sakyum/example/sakyum_demo

To spinup the services, run the command::

docker-compose up

you can use the command below instead of the above, in other to see how it build the image::

docker-compose up --build

Once the services build up, you can visit it at http://0.0.0.0:5000, also you can login with these credentials, where username is: backend-developer and the password is: 123456

⁠Bonus usage

Inspect volume: docker volume ls and docker volume inspect <volume name>

Prune unused volumes: docker volume prune

View networks: docker network ls

Bring services down: docker-compose down

Open a bash session in a running container: docker exec -it <container ID> sh

Tag summary

Content type

Image

Digest

sha256:30c6c7518…

Size

63.7 MB

Last updated

over 3 years ago

docker pull usmanmusa/sakyum