feat: add tests and compose

This commit is contained in:
2026-04-03 10:15:30 +02:00
parent f0b0a5dd24
commit 82cb4a9786
6 changed files with 537 additions and 2 deletions

30
docker-compose.yml Normal file
View File

@@ -0,0 +1,30 @@
services:
micronomicon:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- PAGES_DIR=/data/pages
- SOURCES_DIR=/data/sources
- NOMADNET_CONTAINER=nomadnet
volumes:
- pages:/data/pages
- sources:/data/sources
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: unless-stopped
depends_on:
- nomadnet
nomadnet:
image: ghcr.io/markqvist/nomadnet:latest
volumes:
- pages:/root/.nomadnetwork/storage/pages
- nomadnet-config:/root/.nomadnetwork
restart: unless-stopped
volumes:
pages:
sources:
nomadnet-config: