Merge pull request 'Update README' (#5) from update-readme into master
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Reviewed-on: #5
This commit is contained in:
commit
204fa1bde2
16
README.rst
16
README.rst
@ -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
|
||||
------------
|
||||
|
||||
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
|
||||
|
||||
@ -16,16 +16,16 @@ The easiest way to install StickyNotes is via Docker and Docker Compose. Here's
|
||||
postgres:
|
||||
image: postgres:15
|
||||
env:
|
||||
- POSTGRES_USER=stickynotes
|
||||
- POSTGRES_DB=stickynotes
|
||||
- POSTGRES_PASSWORD=stickynotes
|
||||
- POSTGRES_USER=codesmidgen
|
||||
- POSTGRES_DB=codesmidgen
|
||||
- POSTGRES_PASSWORD=codesmidgen
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "./data/postgres:/var/lib/postgresql/data"
|
||||
app:
|
||||
image: git.snyman.info/raoul/stickynotes:latest
|
||||
image: git.snyman.info/raoul/codesmidgen:latest
|
||||
env:
|
||||
- SQLALCHEMY_URL=postgres://stickynotes:stickynotes@postgres/stickynotes
|
||||
- SQLALCHEMY_URL=postgres://codesmidgen:codesmidgen@postgres/codesmidgen
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
|
Loading…
Reference in New Issue
Block a user