my harness for niri
1services:
2 agent:
3 build:
4 context: .
5 args:
6 AGENT_USER: ${NIRI_USER:-niri}
7 container_name: ${NIRI_CONTAINER:-niri}
8 restart: unless-stopped
9 network_mode: host
10 user: "${AGENT_UID:-1001}:${AGENT_GID:-1001}"
11 volumes:
12 - ./home:/home/${NIRI_USER:-niri}
13 - .:/workspace
14 - agent_usr:/usr/local
15 - agent_etc:/etc
16 environment:
17 - TZ=${TZ:-UTC}
18
19volumes:
20 agent_usr:
21 agent_etc: