client: add custom compose merge file functionality

Like custom build functionality (custom Dockerfile), adds support for
custom docker-compose.yml functionality:
  * Adds default custom compose file
  * Adds to run-time environment
  * Adds to `gen` and `edit`
This commit is contained in:
2026-03-02 15:16:19 -08:00
parent d6100d209c
commit 7111df14d3
6 changed files with 171 additions and 16 deletions

View File

@@ -0,0 +1,32 @@
# docker-finance | modern accounting for the power-user
#
# Copyright (C) 2021-2024,2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# docker-finance @DOCKER_FINANCE_VERSION@
## This is a custom compose file that will be *merged* with the base compose file
## See https://docs.docker.com/compose/how-tos/multiple-compose-files/merge/ for details
## An example of adding a custom volume and environment variables
## NOTE: *MUST* also add these variables to the env file (`edit type=env`)
#services:
# docker-finance:
# volumes:
# - ${DOCKER_FINANCE_CLIENT_TESTING}:${DOCKER_FINANCE_CONTAINER_TESTING}
# environment:
# - DOCKER_FINANCE_CONTAINER_TESTING=${DOCKER_FINANCE_CONTAINER_TESTING}
# vim: sw=2 sts=2 si ai et

View File

@@ -0,0 +1,32 @@
# docker-finance | modern accounting for the power-user
#
# Copyright (C) 2021-2024,2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# docker-finance @DOCKER_FINANCE_VERSION@
## This is a custom compose file that will be *merged* with the base compose file
## See https://docs.docker.com/compose/how-tos/multiple-compose-files/merge/ for details
## An example of adding a custom volume and environment variables
## NOTE: *MUST* also add these variables to the env file (`edit type=env`)
#services:
# docker-finance:
# volumes:
# - ${DOCKER_FINANCE_CLIENT_TESTING}:${DOCKER_FINANCE_CONTAINER_TESTING}
# environment:
# - DOCKER_FINANCE_CONTAINER_TESTING=${DOCKER_FINANCE_CONTAINER_TESTING}
# vim: sw=2 sts=2 si ai et

View File

@@ -0,0 +1,32 @@
# docker-finance | modern accounting for the power-user
#
# Copyright (C) 2021-2024,2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# docker-finance @DOCKER_FINANCE_VERSION@
## This is a custom compose file that will be *merged* with the base compose file
## See https://docs.docker.com/compose/how-tos/multiple-compose-files/merge/ for details
## An example of adding a custom volume and environment variables
## NOTE: *MUST* also add these variables to the env file (`edit type=env`)
#services:
# docker-finance:
# volumes:
# - ${DOCKER_FINANCE_CLIENT_TESTING}:${DOCKER_FINANCE_CONTAINER_TESTING}
# environment:
# - DOCKER_FINANCE_CONTAINER_TESTING=${DOCKER_FINANCE_CONTAINER_TESTING}
# vim: sw=2 sts=2 si ai et