Skip to content

Commit 4a4ee3c

Browse files
authored
Merge pull request #15 from rohanbatrain/v0.0.5
V0.0.5
2 parents 82404e2 + cafa833 commit 4a4ee3c

7 files changed

Lines changed: 15 additions & 12 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name: Build and Push Docker Image to GHCR
44
on:
55
push:
66
branches:
7+
- dev
78
- main
89

910
jobs:
@@ -35,7 +36,7 @@ jobs:
3536
- name: Publish to Github Registry
3637
uses: elgohr/Publish-Docker-Github-Action@v5
3738
with:
38-
name: rohanbatrain/second_brain_database
39+
name: rohanbatrain/second_brain_database/dev
3940
username: ${{ github.actor }}
4041
password: ${{ secrets.GITHUB_TOKEN }}
4142
registry: ghcr.io

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ RUN chown -R sbd_user:sbd_user /app
2525
# Install your package (assuming setup.py or pyproject.toml exists)
2626
RUN pip install .
2727

28+
RUN pip install second_brain_database
29+
2830
# Switch to the non-root user
2931
USER sbd_user
3032

@@ -35,5 +37,5 @@ ENV HOME=/sbd_user
3537
EXPOSE 5000
3638

3739
# Run the app
38-
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "Second_Brain_Database.main"]
40+
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "second_brain_database.main"]
3941
# CMD ["python", "-m", "Second_Brain_Database.main"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Second Brain Database is **still under active development**. The core functional
3535
Docker Pull
3636

3737
```bash
38-
docker pull rohanbatra/second-brain-database:latest
38+
docker pull rohanbatra/second_brain_database:latest
3939
```
4040

4141

dev-environment/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ services:
1313
ports:
1414
- "6379:6379"
1515

16-
second-brain-database:
17-
image: rohanbatra/second-brain-database:dev # or use build: . if needed
18-
container_name: second-brain-database
16+
second_brain_database:
17+
image: rohanbatra/second_brain_database:dev # or use build: . if needed
18+
container_name: second_brain_database
1919
ports:
2020
- "5000:5000"
2121
volumes:

dev-environment/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
docker pull rohanbatra/second-brain-database:dev
1+
docker pull rohanbatra/second_brain_database:dev
22
docker compose up

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ services:
1313
ports:
1414
- "6379:6379"
1515

16-
second-brain-database:
17-
image: rohanbatra/second-brain-database:latest # or use build: . if needed
18-
container_name: second-brain-database
16+
second_brain_database:
17+
image: rohanbatra/second_brain_database:latest # or use build: . if needed
18+
container_name: second_brain_database
1919
ports:
2020
- "5000:5000"
2121
volumes:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ dependencies = [
3434

3535

3636
[project.urls]
37-
"Homepage" = "https://github.com/rohanbatrain/second-brain-database"
38-
"Bug Tracker" = "https://github.com/rohanbatrain/second-brain-database/issues"
37+
"Homepage" = "https://github.com/rohanbatrain/second_brain_database"
38+
"Bug Tracker" = "https://github.com/rohanbatrain/second_brain_database/issues"

0 commit comments

Comments
 (0)