Skip to content

Commit

Permalink
feat: add selinux compatible quickstart config (#889)
Browse files Browse the repository at this point in the history
Closes #831
  • Loading branch information
aeneasr authored Dec 9, 2020
1 parent c7b8011 commit 0f87948
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ git checkout v0.5.5-alpha.1.pre.1
docker pull oryd/kratos:latest-sqlite
docker pull oryd/kratos-selfservice-ui-node:latest
docker-compose -f quickstart.yml -f quickstart-standalone.yml up --build --force-recreate
# If you have SELinux, run:
docker-compose -f quickstart.yml -f quickstart-selinux.yml -f quickstart-standalone.yml up --build --force-recreate
```

This might take a minute or two. Once the output slows down and logs indicate a
Expand Down
26 changes: 26 additions & 0 deletions quickstart-selinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: '3.7'

services:
kratos-migrate:
volumes:
-
type: volume
source: kratos-sqlite
target: /var/lib/sqlite
read_only: false
-
type: bind
source: ./contrib/quickstart/kratos/email-password
target: /etc/config/kratos:z

kratos:
volumes:
-
type: volume
source: kratos-sqlite
target: /var/lib/sqlite
read_only: false
-
type: bind
source: ./contrib/quickstart/kratos/email-password
target: /etc/config/kratos:z

0 comments on commit 0f87948

Please sign in to comment.