46 lines
2.0 KiB
YAML
46 lines
2.0 KiB
YAML
# Append after docker-compose.yml and docker-compose.unraid.yml. These required
|
|
# paths are verified cold clones, including the otherwise anonymous /config.
|
|
# Pass MIGRATION_ENV_FILE as Compose --env-file to preserve interpolation parity.
|
|
name: lumaops-managed
|
|
services:
|
|
lumaops:
|
|
network_mode: ${MIGRATION_NETWORK:?exact original network required}
|
|
labels:
|
|
io.itworx.migration-attempt: ${MIGRATION_ATTEMPT:?journaled migration attempt required}
|
|
image: ${MIGRATION_IMAGE:?set an attempt-specific candidate image}
|
|
env_file:
|
|
- ${MIGRATION_ENV_FILE:?set the protected external runtime env file}
|
|
build:
|
|
labels:
|
|
org.opencontainers.image.source: jens/lumaops
|
|
org.opencontainers.image.revision: ${MIGRATION_SOURCE_REVISION:?full verified Git commit required}
|
|
org.opencontainers.image.source-tree: ${MIGRATION_SOURCE_TREE:?verified Git tree required}
|
|
org.opencontainers.image.version: ${MIGRATION_BUILD_ID:?broker build ID required}
|
|
org.opencontainers.image.created: ${MIGRATION_BUILD_DATE:?broker UTC build date required}
|
|
volumes:
|
|
- type: bind
|
|
source: ${MIGRATION_CONFIG_ROOT:?verified cold clone of anonymous config volume required}
|
|
target: /config
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${MIGRATION_OPENRGB_ROOT:?verified cold clone of openrgb configuration required}
|
|
target: /config/openrgb
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${MIGRATION_LUMA_CONFIG_ROOT:?verified cold clone of lumaops configuration required}
|
|
target: /config/lumaops
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${MIGRATION_DATA_ROOT:?verified cold clone of application data required}
|
|
target: /data
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${MIGRATION_LOGS_ROOT:?verified cold clone of logs required}
|
|
target: /logs
|
|
bind:
|
|
create_host_path: false
|