peppermint-server

command module
v0.0.0-...-96aa2c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL