Skip to content

Commit

Permalink
Revert "fix: Use host volume mount for sqlite (#272)"
Browse files Browse the repository at this point in the history
This reverts commit 230ab2d.
  • Loading branch information
aeneasr authored Mar 13, 2020
1 parent ad3d510 commit 6dc9ce4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
1 change: 0 additions & 1 deletion contrib/quickstart/kratos/email-password/sqlite/.gitignore

This file was deleted.

22 changes: 15 additions & 7 deletions quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ services:
environment:
- DSN=sqlite:///home/ory/sqlite/db.sqlite?_fk=true
volumes:
- type: bind
source: ./contrib/quickstart/kratos/email-password/sqlite
-
type: volume
source: kratos-sqlite
target: /home/ory/sqlite
read_only: false
-
type: bind
source: ./contrib/quickstart/kratos/email-password/config
source: ./contrib/quickstart/kratos/email-password
target: /etc/config/kratos
command:
-c /etc/config/kratos/.kratos.yml migrate sql -e --yes
Expand Down Expand Up @@ -71,11 +73,14 @@ services:
command:
serve -c /etc/config/kratos/.kratos.yml --dev
volumes:
- type: bind
source: ./contrib/quickstart/kratos/email-password/sqlite
-
type: volume
source: kratos-sqlite
target: /home/ory/sqlite
- type: bind
source: ./contrib/quickstart/kratos/email-password/config
read_only: false
-
type: bind
source: ./contrib/quickstart/kratos/email-password
target: /etc/config/kratos
networks:
- intranet
Expand All @@ -90,3 +95,6 @@ services:

networks:
intranet:

volumes:
kratos-sqlite:

0 comments on commit 6dc9ce4

Please sign in to comment.