-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Not all tests fixed yet * Fix all `test_aggregate_graphs` * Fix all `test_store_performance` * Fix all `test_type_to_term_combination` * Update SQLAlchemy to version 2.0.23 * Refactor sqlalchemy statements * Add docker-compose.yml * Add .env.sample
- Loading branch information
1 parent
912ad4a
commit df3e084
Showing
6 changed files
with
48 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
POSTGRES_USERNAME=username | ||
POSTGRES_PASSWORD=password | ||
POSTGRES_HOST=127.0.0.1 | ||
POSTGRES_PORT=5432 | ||
POSTGRES_DBNAME=name | ||
DB='pgsql' | ||
DBURI='postgresql+psycopg2://username:[email protected]/name' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ docs/api | |
|
||
# Test outcomes | ||
test/tmpdb.sqlite | ||
|
||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
version: '3.8' | ||
services: | ||
db: | ||
image: postgres:14.1-alpine | ||
restart: always | ||
environment: | ||
- POSTGRES_USER=${POSTGRES_USERNAME} | ||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} | ||
- POSTGRES_HOST=${POSTGRES_HOST} | ||
- POSTGRES_DB=${POSTGRES_DBNAME} | ||
ports: | ||
- "${POSTGRES_PORT}:${POSTGRES_PORT}" | ||
volumes: | ||
- db:/var/lib/postgresql/data | ||
volumes: | ||
db: | ||
driver: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters