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
|
- type: bind
|
||||||
source: /opt/trains/data/fileserver
|
source: /opt/trains/data/fileserver
|
||||||
target: /mnt/fileserver
|
target: /mnt/fileserver
|
||||||
links:
|
depends_on:
|
||||||
- mongo:mongo
|
- mongo
|
||||||
- elasticsearch:elasticsearch
|
- elasticsearch
|
||||||
environment:
|
environment:
|
||||||
ELASTIC_SERVICE_SERVICE_HOST: elasticsearch
|
ELASTIC_SERVICE_SERVICE_HOST: elasticsearch
|
||||||
MONGODB_SERVICE_SERVICE_HOST: mongo
|
MONGODB_SERVICE_SERVICE_HOST: mongo
|
||||||
|
@ -13,10 +13,10 @@ services:
|
|||||||
- type: bind
|
- type: bind
|
||||||
source: /opt/trains/config
|
source: /opt/trains/config
|
||||||
target: /opt/trains/config
|
target: /opt/trains/config
|
||||||
links:
|
depends_on:
|
||||||
- mongo:mongo
|
- mongo
|
||||||
- elasticsearch:elasticsearch
|
- elasticsearch
|
||||||
- fileserver:fileserver
|
- fileserver
|
||||||
environment:
|
environment:
|
||||||
ELASTIC_SERVICE_SERVICE_HOST: elasticsearch
|
ELASTIC_SERVICE_SERVICE_HOST: elasticsearch
|
||||||
MONGODB_SERVICE_SERVICE_HOST: mongo
|
MONGODB_SERVICE_SERVICE_HOST: mongo
|
||||||
@ -102,7 +102,7 @@ services:
|
|||||||
- type: bind
|
- type: bind
|
||||||
source: /opt/trains/logs
|
source: /opt/trains/logs
|
||||||
target: /var/log/trains
|
target: /var/log/trains
|
||||||
links:
|
depends_on:
|
||||||
- apiserver
|
- apiserver
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
|
Loading…
Reference in New Issue
Block a user