Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
yogrr committed Jun 4, 2024
0 parents commit 13dde95
Show file tree
Hide file tree
Showing 45 changed files with 4,430 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .configs/.cSpellWords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
psycopg
pydantic
starlette
13 changes: 13 additions & 0 deletions .docker/.application.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
BACKEND_HOST="0.0.0.0"
BACKEND_HOST_PORT=8000

PROJECT_NAME="geomaniac-backend"

FIRST_SUPERUSER_PASSWORD="default_Pass_1"
FIRST_SUPERUSER="admin"

POSTGRES_PASSWORD="postgres"
POSTGRES_SERVER=${POSTGRES_CONTAINER_NAME} # use localhost, when run locally
POSTGRES_USER="postgres"

USERS_OPEN_REGISTRATION=True
6 changes: 6 additions & 0 deletions .docker/.db.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
POSTGRES_CONTAINER_NAME=db
POSTGRES_HOST=${POSTGRES_CONTAINER_NAME}
POSTGRES_DB=geomaniac
POSTGRES_PASSWORD=postgres
POSTGRES_PORT=5432
POSTGRES_USER=postgres
5 changes: 5 additions & 0 deletions .docker/.pgadmin.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MASTER_PASSWORD_REQUIRED=False
PGADMIN_CONFIG_SERVER_MODE=False
PGADMIN_DEFAULT_EMAIL=pgadmin4@pgadmin.com
PGADMIN_DEFAULT_PASSWORD=admin
PGADMIN_HOST_PORT=8080
13 changes: 13 additions & 0 deletions .docker/.pgadmin.servers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Servers": {
"geomaniac": {
"Name": "geomaniac",
"Group": "Servers",
"Port": 5432,
"Username": "postgres",
"Host": "db",
"SSLMode": "prefer",
"MaintenanceDB": "postgres"
}
}
}
Loading

0 comments on commit 13dde95

Please sign in to comment.