blob: 062eca0ec22984924fe2f6205d1114e5410accdb [file] [log] [blame]
# ============LICENSE_START===============================================
# Copyright (C) 2022 Nordix Foundation. All rights reserved.
# ========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=================================================
#
version: '3.8'
services:
dfc:
image: "${DFC_IMAGE}"
container_name: datafile-collector
hostname: datafile-collector
volumes:
- ./dfc/application.yaml:/opt/app/datafile/config/application.yaml
- ./dfc/tls/:/opt/app/datafile/etc/cert/
- ./dfc/app-config/:/app-config/
ports:
- ${DFC_PORT}:${DFC_PORT}
- ${DFC_SEC_PORT}:${DFC_SEC_PORT}
environment:
CONFIG_BINDING_SERVICE: 127.0.0.1
CONFIG_BINDING_SERVICE_SERVICE_PORT: 80
networks:
smo:
oam:
labels:
- "pmflowtest=cont"
networks:
smo:
external: true
oam:
external: true