Sign inSign up

davenchy/minly-assignment-server

By davenchy

Updated almost 2 years ago

A media-sharing platform where users can upload, manage, and interact with media files.

Image
Content management system
0

131

davenchy/minly-assignment-server repository overview

README for Server Docker Image

MediaShare Backend - Docker Image

This is the Docker image for the backend service of MediaShare, a media-sharing platform where users can upload, manage, and interact with media files.

Image Information

Environment Variables

To run this image, configure the following environment variables:

  • SERVER_HOST: Set to 0.0.0.0 for exposing the server on all interfaces.
  • TOKEN_SECRET and REFRESH_TOKEN_SECRET: Define strong secrets for JWT tokens.
  • TOKEN_EXPIRES_IN: Recommended to set to 86400 (1 day) due to temporary issues with refresh tokens.
Running the Docker Image

To start the server container:

docker run -p 8080:8080 \
  -e SERVER_HOST=0.0.0.0 \
  -e TOKEN_SECRET="your_secret_key" \
  -e REFRESH_TOKEN_SECRET="your_refresh_secret_key" \
  -e TOKEN_EXPIRES_IN=86400 \
  davenchy/minly-assignment-server

Visit the GitHub repository for setup instructions, detailed API documentation, and more information about the project. The repository is currently private but will become public soon.

Tag summary

Content type

Image

Digest

sha256:ba6c2dcb0

Size

75.4 MB

Last updated

almost 2 years ago

docker pull davenchy/minly-assignment-server