File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ services:
66 environment :
77 - DSN=sqlite:///var/lib/sqlite/db.sqlite?_fk=true&mode=rwc
88 volumes :
9- - {LOCAL_VOLUME_KRATOS_SQLITE}:/var/lib/sqlite
9+ - type : volume
10+ source : kratos-sqlite
11+ target : /var/lib/sqlite
12+ read_only : false
1013 - {LOCAL_VOLUME_KRATOS}/kratos.yml:/home/.kratos.yaml
1114 command : migrate sql -e --yes
1215 restart : on-failure
@@ -25,7 +28,7 @@ services:
2528 command : serve -c /etc/config/kratos/kratos.yml --dev --watch-courier
2629 volumes :
2730 - {LOCAL_VOLUME_KRATOS}:/etc/config/kratos:Z
28- - {LOCAL_VOLUME_KRATOS_SQLITE} :/var/lib/sqlite
31+ - kratos-sqlite :/var/lib/sqlite
2932 networks :
3033 - default
3134
@@ -101,7 +104,7 @@ services:
101104 - 80
102105 volumes :
103106 - /var/run/docker.sock:/var/run/docker.sock:Z
104- - {LOCAL_VOLUME_GRAPHQL_SQLITE} :/sqlite
107+ - graphql-sqlite :/sqlite
105108 environment :
106109 - AC_EXEC_ENV_IMAGE=kernai/refinery-ac-exec-env:{AC_EXEC_ENV}
107110 - LF_EXEC_ENV_IMAGE=kernai/refinery-lf-exec-env:{LF_EXEC_ENV}
@@ -321,3 +324,6 @@ services:
321324networks :
322325 default :
323326
327+ volumes :
328+ kratos-sqlite :
329+ graphql-sqlite:
You can’t perform that action at this time.
0 commit comments