Make production volumes point to external storage
This commit is contained in:
parent
2763e52e6b
commit
740f93208b
|
@ -1,13 +1,13 @@
|
|||
version: "2.2"
|
||||
|
||||
volumes:
|
||||
metadata_data: {}
|
||||
middle_var: {}
|
||||
historical_var: {}
|
||||
broker_var: {}
|
||||
coordinator_var: {}
|
||||
router_var: {}
|
||||
druid_shared: {}
|
||||
# volumes:
|
||||
# metadata_data: {}
|
||||
# middle_var: {}
|
||||
# historical_var: {}
|
||||
# broker_var: {}
|
||||
# coordinator_var: {}
|
||||
# router_var: {}
|
||||
# druid_shared: {}
|
||||
|
||||
services:
|
||||
app:
|
||||
|
@ -84,7 +84,7 @@ services:
|
|||
container_name: postgres
|
||||
image: postgres:latest
|
||||
volumes:
|
||||
- metadata_data:/var/lib/postgresql/data
|
||||
- /block/store/metadata_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=FoolishPassword
|
||||
- POSTGRES_USER=druid
|
||||
|
@ -131,8 +131,10 @@ services:
|
|||
image: apache/druid:0.23.0
|
||||
container_name: coordinator
|
||||
volumes:
|
||||
- druid_shared:/opt/shared
|
||||
- coordinator_var:/opt/druid/var
|
||||
# - druid_shared:/opt/shared
|
||||
# - coordinator_var:/opt/druid/var
|
||||
- /block/store/druid_shared:/opt/shared
|
||||
- /block/store/coordinator_var:/opt/druid/var
|
||||
depends_on:
|
||||
- zookeeper
|
||||
- postgres
|
||||
|
@ -147,7 +149,7 @@ services:
|
|||
image: apache/druid:0.23.0
|
||||
container_name: broker
|
||||
volumes:
|
||||
- broker_var:/opt/druid/var
|
||||
- /block/store/broker_var:/opt/druid/var
|
||||
depends_on:
|
||||
- zookeeper
|
||||
- postgres
|
||||
|
@ -163,8 +165,8 @@ services:
|
|||
image: apache/druid:0.23.0
|
||||
container_name: historical
|
||||
volumes:
|
||||
- druid_shared:/opt/shared
|
||||
- historical_var:/opt/druid/var
|
||||
- /block/store/druid_shared:/opt/shared
|
||||
- /block/store/historical_var:/opt/druid/var
|
||||
depends_on:
|
||||
- zookeeper
|
||||
- postgres
|
||||
|
@ -180,8 +182,8 @@ services:
|
|||
image: apache/druid:0.23.0
|
||||
container_name: middlemanager
|
||||
volumes:
|
||||
- druid_shared:/opt/shared
|
||||
- middle_var:/opt/druid/var
|
||||
- /block/store/druid_shared:/opt/shared
|
||||
- /block/store/middle_var:/opt/druid/var
|
||||
depends_on:
|
||||
- zookeeper
|
||||
- postgres
|
||||
|
@ -198,7 +200,7 @@ services:
|
|||
image: apache/druid:0.23.0
|
||||
container_name: router
|
||||
volumes:
|
||||
- router_var:/opt/druid/var
|
||||
- /block/store/router_var:/opt/druid/var
|
||||
depends_on:
|
||||
- zookeeper
|
||||
- postgres
|
||||
|
|
Loading…
Reference in New Issue