mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
Fix docker compose file, replaced deprecated 'links' with 'depends_on'
This commit is contained in:
parent
e171a8b523
commit
1b1cdb34ad
@ -19,9 +19,9 @@ services:
|
||||
- type: bind
|
||||
source: /opt/trains/data/fileserver
|
||||
target: /mnt/fileserver
|
||||
links:
|
||||
- mongo:mongo
|
||||
- elasticsearch:elasticsearch
|
||||
depends_on:
|
||||
- mongo
|
||||
- elasticsearch
|
||||
environment:
|
||||
ELASTIC_SERVICE_SERVICE_HOST: elasticsearch
|
||||
MONGODB_SERVICE_SERVICE_HOST: mongo
|
||||
|
@ -13,10 +13,10 @@ services:
|
||||
- type: bind
|
||||
source: /opt/trains/config
|
||||
target: /opt/trains/config
|
||||
links:
|
||||
- mongo:mongo
|
||||
- elasticsearch:elasticsearch
|
||||
- fileserver:fileserver
|
||||
depends_on:
|
||||
- mongo
|
||||
- elasticsearch
|
||||
- fileserver
|
||||
environment:
|
||||
ELASTIC_SERVICE_SERVICE_HOST: elasticsearch
|
||||
MONGODB_SERVICE_SERVICE_HOST: mongo
|
||||
@ -102,7 +102,7 @@ services:
|
||||
- type: bind
|
||||
source: /opt/trains/logs
|
||||
target: /var/log/trains
|
||||
links:
|
||||
depends_on:
|
||||
- apiserver
|
||||
ports:
|
||||
- "8080:80"
|
||||
|
Loading…
Reference in New Issue
Block a user