Skip to content

Commit 1b150f9

Browse files
committed
feat: add dockerignore and template env files
1 parent fed490f commit 1b150f9

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

.dockerignore

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# reference: https://github.com/themattrix/python-pypi-template/blob/master/.dockerignore
2+
3+
# Git
4+
.git
5+
.gitignore
6+
.gitattributes
7+
8+
9+
# CI
10+
.codeclimate.yml
11+
.travis.yml
12+
.taskcluster.yml
13+
14+
# Docker
15+
docker-compose.yml
16+
Dockerfile
17+
.docker
18+
.dockerignore
19+
20+
# Byte-compiled / optimized / DLL files
21+
**/__pycache__/
22+
**/*.py[cod]
23+
24+
# C extensions
25+
*.so
26+
27+
# Distribution / packaging
28+
.Python
29+
env/
30+
build/
31+
develop-eggs/
32+
dist/
33+
downloads/
34+
eggs/
35+
lib/
36+
lib64/
37+
parts/
38+
sdist/
39+
var/
40+
*.egg-info/
41+
.installed.cfg
42+
*.egg
43+
44+
# PyInstaller
45+
# Usually these files are written by a python script from a template
46+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
47+
*.manifest
48+
*.spec
49+
50+
# Installer logs
51+
pip-log.txt
52+
pip-delete-this-directory.txt
53+
54+
# Unit test / coverage reports
55+
htmlcov/
56+
.tox/
57+
.coverage
58+
.cache
59+
nosetests.xml
60+
coverage.xml
61+
62+
# Translations
63+
*.mo
64+
*.pot
65+
66+
# Django stuff:
67+
*.log
68+
69+
# Sphinx documentation
70+
docs/_build/
71+
72+
# PyBuilder
73+
target/
74+
75+
# Virtual environment
76+
.env
77+
.venv/
78+
venv/
79+
80+
# PyCharm
81+
.idea
82+
83+
# Python mode for VIM
84+
.ropeproject
85+
**/.ropeproject
86+
87+
# Vim swap files
88+
**/*.swp
89+
90+
# VS Code
91+
.vscode/

pgmq_postgres.template.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
POSTGRES_USER=postgres
2+
POSTGRES_PASSWORD=postgres
3+
POSTGRES_DB=postgres

pgmq_tests.template.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PG_DSN="postgresql://postgres:postgres@pgmq_sqlalchemy:5432/postgres"
2+
PG_ASYNC_DSN="postgresql://postgres:postgres@pgmq_sqlalchemy:5432/postgres"

0 commit comments

Comments
 (0)