Sign inSign up

cototal/notes

By cototal

•Updated almost 6 years ago

Web app for managing notes.

Image
0

576

cototal/notes repository overview

⁠Notes

For development, you can set up an appsettings.[env].json:

{
  "ConnectionStrings": {
    "DefaultConnection": "mongodb://user:password@localhost:27017"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information"
    }
  },
  "GoogleAuth": {
    "ClientId": "123.apps.googleusercontent.com",
    "ClientSecret": "secret"
  },
  "AdminEmails": "[email protected];[email protected]"
}

For deployment, you can set up the secrets with environment variables using docker-compose.yml:

version: "3.4"
services:
  app:
    container_name: notes
    image: notes
    ports:
      - 5000:80
    env_file:
      - notes.env
networks:
  default:
    external:
      name: services

With a notes.env file like:

[email protected];[email protected]
GoogleAuth:ClientId=123.apps.googleusercontent.com
GoogleAuth:ClientSecret=secret
ConnectionStrings:DefaultConnection=mongodb://user:password@localhost:27017

Tag summary

Content type

Image

Digest

Size

90.8 MB

Last updated

almost 6 years ago

docker pull cototal/notes