test: add local 2x2 route topology
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
control:
|
||||
image: archive-control-standalone:e2e
|
||||
build:
|
||||
context: ${ARCHIVE_CONTROL_SOURCE:?set ARCHIVE_CONTROL_SOURCE to the mogic-bot checkout}
|
||||
dockerfile: Dockerfile.archive-control
|
||||
command: ["--config", "/etc/archive-control/config.json"]
|
||||
user: "1001:1001"
|
||||
volumes:
|
||||
- ./config/config.json:/etc/archive-control/config.json:ro
|
||||
- ./secrets:/run/secrets:ro
|
||||
- ./runtime/state:/var/lib/archive-control
|
||||
- ./runtime/backups:/var/backups/archive-control
|
||||
networks:
|
||||
archive-control-e2e:
|
||||
aliases: [control]
|
||||
restart: unless-stopped
|
||||
|
||||
curl:
|
||||
image: curlimages/curl:8.16.0
|
||||
network_mode: service:control
|
||||
profiles: [tools]
|
||||
depends_on: [control]
|
||||
|
||||
networks:
|
||||
archive-control-e2e:
|
||||
external: true
|
||||
name: archive-control-e2e
|
||||
|
||||
Reference in New Issue
Block a user