-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
52 lines (46 loc) · 2.48 KB
/
app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
######################################################################
# @Project : app
# @File : app.yml
# @Description : Docker Compose setup file for the app project.
# This file defines common configurations and includes
# service-specific Docker Compose files for a modular and
# maintainable architecture. It leverages Docker Compose's
# ability to dynamically include other YAML files, ensuring
# each service's configuration is isolated yet integrated.
#
# @Author : Alan Szmyt
# @Date : 2024-08-22
# @Version : 1.0
######################################################################
# Define common labels for Docker objects that will be used across all services
# to maintain consistency in labeling Docker objects like containers and volumes.
x-labels: &labels
labels:
app.name: ${COMPOSE_PROJECT_NAME} # Name of the application, set using the Compose project name.
# Include external Docker Compose files for specific services. This approach helps in
# maintaining a clean and organized project structure, allowing individual service configurations
# to be modified independently without impacting other services.
# Learn more: https://docs.docker.com/compose/multiple-compose-files/include/
include:
# Include the Base service Docker Compose file which sets up the foundational services.
- path: ${CONTAINERS_ROOT}/network.yml
- path: ${CONTAINERS_ROOT}/base/base.yml
project_directory: ${CONTAINERS_ROOT}/base
env_file: ${CONTAINERS_ROOT}/base/base.env
# Include the Entwine service Docker Compose file.
- path: ${CONTAINERS_ROOT}/entwine/entwine.yml
project_directory: ${CONTAINERS_ROOT}/entwine
env_file: ${CONTAINERS_ROOT}/entwine/entwine.env
# # Include the Minio service Docker Compose file for object storage configuration.
# - path: ${CONTAINERS_ROOT}/minio/minio.yml
# project_directory: ${CONTAINERS_ROOT}/minio
# env_file: ${CONTAINERS_ROOT}/minio/minio.env
# # Include the TileDB service Docker Compose file for database configuration.
# - path: ${CONTAINERS_ROOT}/tiledb/tiledb.yml
# project_directory: ${CONTAINERS_ROOT}/tiledb
# env_file: ${CONTAINERS_ROOT}/tiledb/tiledb.env
# Include the Matchering service Docker Compose file for database configuration.
# - path: ${CONTAINERS_ROOT}/matchering/matchering.yml
# project_directory: ${CONTAINERS_ROOT}/matchering
# env_file: ${CONTAINERS_ROOT}/matchering/matchering.env