feat: docker and nomad config

This commit is contained in:
2026-04-03 14:46:27 +02:00
parent 576af715bd
commit f082a30b7f
7 changed files with 271 additions and 38 deletions

View File

@@ -1,14 +1,34 @@
services:
micron-editor:
build: .
micronomicon:
build:
context: .
dockerfile: Dockerfile
ports:
- "127.0.0.1:8080:8080"
volumes:
- ~/.nomadnetwork/storage/pages:/data/pages
- ~/.micron-editor/sources:/data/sources
- /var/run/docker.sock:/var/run/docker.sock
environment:
- PAGES_DIR=/data/pages
- SOURCES_DIR=/data/sources
- NOMADNET_CONTAINER=nomadnet
restart: always
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
ports:
- "0.0.0.0:4242:4242"
volumes:
- pages:/root/.nomadnetwork/storage/pages
- nomadnet-config:/root/.nomadnetwork
- ./nomadnet.conf:/root/.nomadnetwork/config:ro
- ./reticulum.conf:/root/.reticulum/config:ro
restart: unless-stopped
volumes:
pages:
sources:
nomadnet-config: