Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
x-nilrt-common: &nilrt-common
privileged: true
stdin_open: true
tty: true
restart: unless-stopped
networks:
- nilrt-net
labels:
nilrt.managed: "true"
healthcheck:
test: ["CMD-SHELL", "test -f /var/run/niauth.pid || pgrep -x niauth_daemon"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
entrypoint:
- /bin/bash
- -c
- |
exec /init /bin/bash

services:
nilrt:
<<: *nilrt-common
image: nilrt-runmode-container:${NILRT_VERSION}
labels:
nilrt.managed: "true"
nilrt.type: runmode

nilrt-slim:
<<: *nilrt-common
image: nilrt-slim-container:${NILRT_VERSION}-slim
labels:
nilrt.managed: "true"
nilrt.type: slim

networks:
nilrt-net:
external: true
Loading