Skip to content

peppermint-recipes/peppermint-server

Repository files navigation

peppermint-server

This project is not actively maintained.

The backend for peppermint-clients.

Development

Run docker-compose up to start a MongoDB instance. Then make run to start the server.

Deployment

Use the following docker-compose.yml to run peppermint on your own server.

version: '3'

services:
  mongo:
    image: mongo:5
    ports:
      - 127.0.0.1:27017:27017
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example

  mongo-express:
    image: mongo-express:0.54.0
    ports:
        - 127.0.0.1:8081:8081
    environment:
      ME_CONFIG_MONGODB_ADMINUSERNAME: root
      ME_CONFIG_MONGODB_ADMINPASSWORD: example
    depends_on:
      - mongo

  peppermint-server:
    image: ghcr.io/peppermint-recipes/peppermint-server:latest
    ports:
        - 0.0.0.0:8080:8080
    environment:
        DATABASE_USERNAME: root
        DATABASE_PASSWORD: example
        DATABASE_ENDPOINT: mongo:27017
        WEBSERVER_PORT: 8080
        WEBSERVER_ADDRESS: 0.0.0.0
    depends_on:
      - mongo

About

Syncing server for peppermint clients

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •