30 lines
819 B
YAML
30 lines
819 B
YAML
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
|
|
|