Add docker-compose for easy building and running of docker image in dev

Just use docker compose up
This commit is contained in:
Patrick Robertson
2025-01-15 14:27:04 +01:00
parent eebd040e13
commit 100996f1e5
2 changed files with 19 additions and 3 deletions

16
docker-compose.yaml Normal file
View File

@@ -0,0 +1,16 @@
version: '3.8'
services:
auto-archiver:
# point to the local dockerfile
build:
context: .
dockerfile: Dockerfile
container_name: auto-archiver
volumes:
- ./secrets:/app/secrets
- ./local_archive:/app/local_archive
environment:
- WACZ_ENABLE_DOCKER=true
- RUNNING_IN_DOCKER=true
command: --config secrets/orchestration.yaml