Compare commits

..

No commits in common. "204fa1bde22044555c75d7b82ca220f6ee486870" and "2a84c049d36ee98e3403b92ca997a3d1d108187f" have entirely different histories.

View File

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