-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c444948
commit 883e3c8
Showing
11 changed files
with
170 additions
and
55 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,77 @@ | ||
# Ignore development files and directories | ||
*.pyc | ||
*.pyo | ||
__pycache__ | ||
*.env | ||
|
||
# Ignore static files | ||
static/ | ||
media/ | ||
|
||
# Ignore database files | ||
db.sqlite3 | ||
|
||
# Ignore log files | ||
logs/ | ||
|
||
# Ignore virtual environment | ||
venv/ | ||
|
||
# Ignore other generated files | ||
*.log | ||
*.swp | ||
.DS_Store | ||
# Ignore development files and directories | ||
*.pyc | ||
*.pyo | ||
*.pyd | ||
__pycache__/ | ||
.env | ||
|
||
# Ignore static files | ||
static/ | ||
media/ | ||
|
||
# Ignore database files | ||
db.sqlite3 | ||
|
||
# Ignore log files | ||
logs/ | ||
|
||
# Ignore temporary files | ||
*.swp | ||
*.swo | ||
*.swn | ||
|
||
# Ignore Docker-related files | ||
.dockerignore | ||
Dockerfile | ||
docker-compose.yml | ||
# Ignore development files and directories | ||
*.pyc | ||
*.pyo | ||
__pycache__ | ||
.env | ||
.env.* | ||
*.sqlite3 | ||
|
||
# Ignore static files | ||
/staticfiles | ||
/media | ||
|
||
# Ignore log files | ||
/logs | ||
|
||
# Ignore database backups | ||
/backup | ||
|
||
# Ignore Docker-related files | ||
.dockerignore | ||
.dockerignore.example | ||
Dockerfile | ||
docker-compose.yml | ||
docker-compose.override.yml | ||
|
||
# Ignore version control files | ||
.git | ||
.gitignore |
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
.lh | ||
.vscode | ||
.env | ||
*.excalidraw | ||
makefile | ||
.ipynb_checkpoints | ||
.Trash-1000 | ||
.DS_Store | ||
.DS_Store |
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
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,5 @@ | ||
# todo: add minio.env to docker-compose.yml | ||
|
||
MINIO_ROOT_USER=minio | ||
MINIO_ROOT_PASSWORD=minio123 | ||
MINIO_DOMAIN=minio |
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
Empty file.
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,23 @@ | ||
# Pull the official base image | ||
FROM python:3.12-slim-buster | ||
|
||
# Set environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
# Set work directory in the container | ||
WORKDIR /app | ||
|
||
# Install psycopg2 dependencies | ||
RUN apt-get update \ | ||
&& apt-get install -y gcc python3-dev musl-dev \ | ||
&& apt-get install -y libpq-dev \ | ||
&& apt-get clean | ||
|
||
# Install dependencies | ||
COPY requirements.txt /app/ | ||
RUN pip install --upgrade pip | ||
RUN pip install -r requirements.txt | ||
|
||
# Copy project | ||
COPY . /app/ |
Empty file.
Empty file.