36 lines
1.7 KiB
YAML
36 lines
1.7 KiB
YAML
# Append after docker-compose.unraid.yml. Operator-only migration prerequisite;
|
|
# every path must be a verified cold clone, never the original live data.
|
|
# Also pass MIGRATION_ENV_FILE as Compose --env-file for interpolation parity.
|
|
name: vacatureradar-managed
|
|
services:
|
|
app:
|
|
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:
|
|
- ${VACATURERADAR_ENV_FILE:?set the protected external runtime env file}
|
|
build:
|
|
labels:
|
|
org.opencontainers.image.source: jens/vacatureradar
|
|
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_LOCAL_ROOT:?verified cold clone of the complete local tree required}/media
|
|
target: /app/media
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${MIGRATION_LOCAL_ROOT:?verified cold clone of the complete local tree required}/logs
|
|
target: /app/logs
|
|
bind:
|
|
create_host_path: false
|
|
- type: bind
|
|
source: ${MIGRATION_LOCAL_ROOT:?verified cold clone of the complete local tree required}
|
|
target: /app/local
|
|
bind:
|
|
create_host_path: false
|