Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add query-level insert/update methods to supplement ORM-level add/edit
refs #171
- Loading branch information
1 parent
aef1cf0
commit 60fac30
Showing
4 changed files
with
165 additions
and
6 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
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,35 @@ | ||
# Docker Notes | ||
# ============ | ||
# - `docker-compose up`: bring up containers | ||
# - `docker-compose up -d`: same, but run in background/daemon mode | ||
# - `docker-compose down`: bring down containers started with `-d` | ||
# - `docker ps`: show running containers | ||
# - `docker ps -a`: show all containers | ||
# - `docker-compose exec <container name> /bin/bash`: get shell in app container | ||
# - `docker images` | ||
# - `docker rmi <image name>` | ||
# - `docker stop $(docker ps -aq)`: stop all running containers | ||
# - `docker rm $(docker ps -a -q)`: remove all stopped containers | ||
|
||
version: '2.1' | ||
services: | ||
keg-mssql: | ||
image: mcr.microsoft.com/mssql/server | ||
container_name: kegelements-mssql | ||
ports: | ||
- '${KEG_LIB_MSSQL_IP:-127.0.0.1}:${KEG_LIB_MSSQL_PORT:-14331}:1433' | ||
environment: | ||
ACCEPT_EULA: Y | ||
MSSQL_SA_PASSWORD: "Password12!" | ||
keg-pg: | ||
image: postgres:13-alpine | ||
container_name: kegelements-pg | ||
ports: | ||
- '${KEG_LIB_POSTGRES_IP:-127.0.0.1}:${KEG_LIB_POSTGRES_PORT:-54321}:5432' | ||
environment: | ||
# Ok for local dev, potentially UNSAFE in other applications. Don't blindly copy & paste | ||
# without considering implications. | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
POSTGRES_MULTIPLE_DATABASES: keg_tests | ||
volumes: | ||
- ./docker/pg-init-scripts:/docker-entrypoint-initdb.d |
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