Update README

This commit is contained in:
Raoul Snyman 2023-07-27 23:19:20 -07:00
parent 2a84c049d3
commit 293ab7f51d
1 changed files with 8 additions and 8 deletions

View File

@ -1,13 +1,13 @@
=========== ===========
StickyNotes CodeSmidgen
=========== ===========
StickyNotes is a simple "pastebin" written in Python using Quart, SQLAlchemy, Pygments and a few other libraries. CodeSmidgen is a simple "pastebin" written in Python using Quart, SQLAlchemy, Pygments and a few other libraries.
Installation Installation
------------ ------------
The easiest way to install StickyNotes is via Docker and Docker Compose. Here's an example config: The easiest way to install CodeSmidgen is via Docker and Docker Compose. Here's an example config:
.. code-block:: yaml .. code-block:: yaml
@ -16,16 +16,16 @@ The easiest way to install StickyNotes is via Docker and Docker Compose. Here's
postgres: postgres:
image: postgres:15 image: postgres:15
env: env:
- POSTGRES_USER=stickynotes - POSTGRES_USER=codesmidgen
- POSTGRES_DB=stickynotes - POSTGRES_DB=codesmidgen
- POSTGRES_PASSWORD=stickynotes - POSTGRES_PASSWORD=codesmidgen
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- "./data/postgres:/var/lib/postgresql/data" - "./data/postgres:/var/lib/postgresql/data"
app: app:
image: git.snyman.info/raoul/stickynotes:latest image: git.snyman.info/raoul/codesmidgen:latest
env: env:
- SQLALCHEMY_URL=postgres://stickynotes:stickynotes@postgres/stickynotes - SQLALCHEMY_URL=postgres://codesmidgen:codesmidgen@postgres/codesmidgen
restart: unless-stopped restart: unless-stopped
ports: ports:
- "127.0.0.1:8000:8000" - "127.0.0.1:8000:8000"