Commit 0cfb4d15 authored by Federico Sismondi's avatar Federico Sismondi

Update() folder name for DCA project. Add() section to docker-compose for...

Update() folder name for DCA project. Add() section to docker-compose for running DCA fountain service
parent 480d9b6f
......@@ -338,6 +338,36 @@ services:
retries: 3
dca-carouge-fountain:
build:
context: ./dca-carouge-fountain
dockerfile: Dockerfile
image: dca-carouge-fountain:latest
container_name: dca-carouge-fountain
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- FLASK_ENV=development
- FLASK_DEBUG=1
- FLASK_RUN_PORT=80
- COLLECTION_DIR=/code/raw_data
- ORION_HOST=orion
- LORA_PLATFORM_SECRET_FILE=/run/secrets/lora_platform_auth_header
secrets:
- lora_platform_auth_header
expose:
- 80
volumes:
- ./dca-carouge-fountain:/code
networks:
default:
ipv4_address: 172.18.1.14
healthcheck:
test: curl --fail -s http://dca-carouge-fountain/healthcheck || exit 1
start_period: 30s
interval: 5m00s
timeout: 10s
retries: 3
# - + - + - + - + - + - + - + - + - + - + - + - + - +
# Docker configs #
# - + - + - + - + - + - + - + - + - + - + - + - + - +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment