Skip to content

Commit 9494b44

Browse files
committed
Basic project scaffold for cypress postgres
0 parents  commit 9494b44

7 files changed

+3214
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.vscode/settings.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"sqltools.connections": [
3+
{
4+
"previewLimit": 50,
5+
"server": "localhost",
6+
"port": 5432,
7+
"driver": "PostgreSQL",
8+
"name": "mycypress",
9+
"database": "cypress",
10+
"username": "cypress_admin",
11+
"password": "cypressrules"
12+
}
13+
]
14+
}

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM postgres
2+
ENV POSTGRES_USER cypress_admin
3+
ENV POSTGRES_PASSWORD cypressrules
4+
ENV POSTGRES_DB cypress

docker-compose.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
services:
2+
db:
3+
build: .
4+
ports:
5+
- "5432:5432"

mycypress.session.sql

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT * from now()

0 commit comments

Comments
 (0)