PostgreSQL
Installing PostgreSQL to a Debian/Ubuntu machine is quick and easy.
Deploy PostgreSQL Infrastructure
Deploys a NoSQL database using Docker. NOTE: All database data is stored in the current working folder.
docker run --rm \
--name my-couchdb \
-e COUCHDB_USER=admin \
-e COUCHDB_PASSWORD=password \
-e COUCHDB_ERLANG_COOKIE=33595219-bc56-43ca-9df6-a9b4145f1e49 \
-p 127.0.0.1:5984:5984 \
-v $(pwd):/opt/couchdb/data \
couchdb:3.3.1
Deploys a NoSQL database using Docker. NOTE: All database data is stored in the current working folder.
version: '3'
services:
db:
image: postgres:14
restart: always
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- ./postgres:/var/lib/postgresql/data