{triplestore,sql}: Mount directories to allow dynamic import
This commit is contained in:
parent
099c4457b5
commit
3a32b7f03a
4 changed files with 5 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ func (sql *SQL) Stack(env environment.Environment) component.StackWithResources
|
|||
MakeDirsPerm: environment.DefaultDirPerm,
|
||||
MakeDirs: []string{
|
||||
"data",
|
||||
"imports",
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ services:
|
|||
image: mariadb
|
||||
volumes:
|
||||
- "./data/:/var/lib/mysql"
|
||||
- "./imports/:/imports/"
|
||||
ports:
|
||||
- 127.0.0.1:3306:3306
|
||||
labels:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue