Skip to content

Commit 37b8b66

Browse files
authored
Add volume for bora/mantis persistent storage (#174)
1 parent 5f24085 commit 37b8b66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker-compose.yml

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ services:
2020
DEPLOYMENT_INFRA_TYPE: "DOCKER_COMPOSE"
2121
LOG_LEVEL: "WARN"
2222
HYDRA_CLIENT_TIMEOUT_OVERRIDE_SEC: 30
23+
PERSISTENT_STORAGE: /data/persistent_storage
2324
env_file: sublime.env
2425
ports:
2526
- "0.0.0.0:8000:8000"
@@ -29,6 +30,8 @@ services:
2930
- sublime_postgres
3031
- sublime_strelka_backend
3132
- sublime_strelka_frontend
33+
volumes:
34+
- persistent_storage:/data/persistent_storage
3235
sublime_bora_lite:
3336
image: sublimesec/bora-lite:1.45
3437
restart: unless-stopped
@@ -47,6 +50,7 @@ services:
4750
DEPLOYMENT_INFRA_TYPE: "DOCKER_COMPOSE"
4851
LOG_LEVEL: "WARN"
4952
HYDRA_CLIENT_TIMEOUT_OVERRIDE_SEC: 30
53+
PERSISTENT_STORAGE: /data/persistent_storage
5054
env_file: sublime.env
5155
networks:
5256
- net
@@ -55,6 +59,8 @@ services:
5559
- sublime_redis
5660
- sublime_strelka_backend
5761
- sublime_strelka_frontend
62+
volumes:
63+
- persistent_storage:/data/persistent_storage
5864
sublime_postgres:
5965
image: postgres:13.2
6066
command: -c 'max_connections=200'
@@ -232,3 +238,4 @@ volumes:
232238
postgres:
233239
logs:
234240
s3_data:
241+
persistent_storage:

0 commit comments

Comments
 (0)