forked from mtusi2026/mtusi2026lab6
41 lines
889 B
YAML
41 lines
889 B
YAML
# Optional only on the isolated Lab 5 acceptance project.
|
|
# The worker can lose S3 while retaining its database and broker connections.
|
|
x-fault-env: &fault-env
|
|
LAB5_FAULT_DIR: /lab5-test-faults
|
|
x-fault-mount: &fault-mount
|
|
type: bind
|
|
source: ${LAB5_TEST_FAULT_HOST_DIR:?create a fresh writable fault directory}
|
|
target: /lab5-test-faults
|
|
|
|
services:
|
|
api:
|
|
environment: *fault-env
|
|
volumes: [*fault-mount]
|
|
networks:
|
|
default: {}
|
|
lab5_edge: {}
|
|
lab5_object: {}
|
|
relay:
|
|
environment: *fault-env
|
|
volumes: [*fault-mount]
|
|
worker:
|
|
environment: *fault-env
|
|
volumes: [*fault-mount]
|
|
networks:
|
|
default: {}
|
|
lab5_object: {}
|
|
attachment-cleanup:
|
|
networks:
|
|
default: {}
|
|
lab5_object: {}
|
|
s3:
|
|
networks:
|
|
lab5_object: {}
|
|
s3-init:
|
|
networks:
|
|
default: {}
|
|
lab5_object: {}
|
|
|
|
networks:
|
|
lab5_object: {}
|