Skip to content

Commit

Permalink
Add dev_database for local sqlite testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Jan 3, 2025
1 parent d97143c commit 54b53a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dev_database
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@

# Dependency directories (remove the comment below to include it)
# vendor/
dev_database/
8 changes: 2 additions & 6 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ services:
build:
context: ./net/server
dockerfile: Dockerfile.dev
ports:
ports:
- 127.0.0.1:7000:7000
volumes:
- ./net/server:/app/databag/net/server
- database:/var/lib/databag
- ./dev_database:/var/lib/databag
- ./net/transform:/opt/databag/transform
- ./net/web/build:/app/databag/net/web/build
working_dir: /app
Expand All @@ -35,7 +35,3 @@ services:
ports:
- 127.0.0.1:7878:7878
command: go run main.go


volumes:
database:

0 comments on commit 54b53a3

Please sign in to comment.